Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.00135, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.743/0.743, allocations: 89.62 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 9.812 kB / 459.9 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.165, allocations: 68.83 MB / 0.5163 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5801/0.7451, allocations: 160.4 MB / 0.673 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.7644, allocations: 14.9 MB / 0.6876 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.7669, allocations: 27.88 kB / 0.6876 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.7697, allocations: 0.8941 MB / 0.6885 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.7772, allocations: 2.131 MB / 0.6905 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.7822, allocations: 1.371 MB / 0.6919 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005736/0.7879, allocations: 2.138 MB / 0.694 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.789, allocations: 350.9 kB / 0.6943 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.7924, allocations: 1.152 MB / 0.6954 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.7944, allocations: 1.16 MB / 0.6966 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.7946, allocations: 84 kB / 0.6966 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007101/0.8017, allocations: 2.278 MB / 0.6989 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/0.8022, allocations: 334.6 kB / 0.6992 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008086/0.803, allocations: 380.7 kB / 0.6996 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.8065, allocations: 2.03 MB / 0.7015 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8065, allocations: 0 / 0.7015 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8065, allocations: 0 / 0.7015 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.8066, allocations: 3.938 kB / 0.7015 GB, free: 12.23 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004088/0.8107, allocations: 2.094 MB / 0.7036 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8107, allocations: 8.031 kB / 0.7036 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005507/0.8113, allocations: 225.5 kB / 0.7038 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.8127, allocations: 0.9099 MB / 0.7047 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/0.8128, allocations: 114.8 kB / 0.7048 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.813, allocations: 155.9 kB / 0.705 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.8157, allocations: 1.616 MB / 0.7065 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.8158, allocations: 0 / 0.7065 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.8159, allocations: 64 kB / 0.7066 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.816, allocations: 36 kB / 0.7066 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.8185, allocations: 1.5 MB / 0.7081 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009681/0.8282, allocations: 7.275 MB / 0.7152 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.8309, allocations: 1.546 MB / 0.7167 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006458/0.8374, allocations: 6.058 MB / 0.7226 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.8375, allocations: 59.38 kB / 0.7227 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=166): time 3.226e-06/0.8375, allocations: 0 / 0.7227 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.006089/0.8436, allocations: 3.127 MB / 0.7257 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.8438, allocations: 171.1 kB / 0.7259 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.8452, allocations: 1.083 MB / 0.727 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.8453, allocations: 57.7 kB / 0.727 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.8459, allocations: 0.6887 MB / 0.7277 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.8465, allocations: 0.5659 MB / 0.7282 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.8466, allocations: 36 kB / 0.7283 GB, free: 15.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.8468, allocations: 373.9 kB / 0.7286 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/0.8477, allocations: 499.8 kB / 0.7291 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.849, allocations: 0.8289 MB / 0.7299 GB, free: 13.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8501, allocations: 0.6059 MB / 0.7305 GB, free: 12.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.8502, allocations: 4 kB / 0.7305 GB, free: 12.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00347/0.8536, allocations: 1.838 MB / 0.7323 GB, free: 10.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.8537, allocations: 16.03 kB / 0.7323 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.8537, allocations: 8 kB / 0.7323 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/0.8545, allocations: 236 kB / 0.7325 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.8559, allocations: 383.4 kB / 0.7329 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.8618, allocations: 7.192 MB / 0.7399 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.8637, allocations: 186.3 kB / 0.7401 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.8639, allocations: 71.97 kB / 0.7402 GB, free: 1.996 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00084/0.8647, allocations: 325.4 kB / 0.7405 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/0.8651, allocations: 162 kB / 0.7406 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/0.8697, allocations: 2.085 MB / 0.7427 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.8698, allocations: 16 kB / 0.7427 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.8698, allocations: 4 kB / 0.7427 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/0.8698, allocations: 19.84 kB / 0.7427 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.8767, allocations: 3.919 MB / 0.7466 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.8767, allocations: 4 kB / 0.7466 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.8778, allocations: 267.8 kB / 0.7468 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.8795, allocations: 475.1 kB / 0.7473 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.8796, allocations: 55.92 kB / 0.7473 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/0.8869, allocations: 9.485 MB / 0.7566 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.887, allocations: 11.89 kB / 0.7566 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/0.8924, allocations: 3.015 MB / 0.7595 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/0.8933, allocations: 270.6 kB / 0.7598 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.8935, allocations: 36 kB / 0.7598 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.8948, allocations: 107.7 kB / 0.7599 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.8951, allocations: 124.6 kB / 0.76 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.8953, allocations: 71.95 kB / 0.7601 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001183/0.8965, allocations: 0.7479 MB / 0.7608 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8965, allocations: 4 kB / 0.7609 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002765/0.8993, allocations: 0.7762 MB / 0.7616 GB, free: 10.87 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.9006, allocations: 0.7503 MB / 0.7623 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003545/0.9041, allocations: 2.001 MB / 0.7643 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.9042, allocations: 4 kB / 0.7643 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.9066, allocations: 1.434 MB / 0.7657 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.9096, allocations: 0.5226 MB / 0.7662 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00708/0.9167, allocations: 4.35 MB / 0.7705 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/0.9176, allocations: 1.308 MB / 0.7717 GB, free: 276 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001735/0.9194, allocations: 324.6 kB / 0.772 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.9198, allocations: 143.3 kB / 0.7722 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.9198, allocations: 0 / 0.7722 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.3746/1.294, allocations: 33.4 MB / 0.8048 GB, free: 221.3 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)