Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 109.3 kB / 18.68 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008001/0.008001, allocations: 199.8 kB / 21.93 MB, free: 5.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 250.6 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7557/0.7557, allocations: 94.6 MB / 400.4 MB, free: 15.77 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 85.95 kB / 0.5464 GB, free: 42.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.1007, allocations: 71.85 MB / 0.6166 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07492/0.1756, allocations: 66.32 MB / 0.6813 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.1988, allocations: 17.7 MB / 0.6986 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.2007, allocations: 79.5 kB / 0.6987 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.2036, allocations: 1.199 MB / 0.6999 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007137/0.2107, allocations: 2.866 MB / 0.7027 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.2148, allocations: 1.553 MB / 0.7042 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005194/0.22, allocations: 3.891 MB / 0.708 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007594/0.2208, allocations: 390.6 kB / 0.7084 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.2236, allocations: 1.622 MB / 0.71 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.2257, allocations: 1.567 MB / 0.7115 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.226, allocations: 192 kB / 0.7117 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.2308, allocations: 1.736 MB / 0.7134 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.2313, allocations: 0.4901 MB / 0.7138 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.2327, allocations: 1.263 MB / 0.7151 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006423/0.2391, allocations: 3.833 MB / 0.7188 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2391, allocations: 0 / 0.7188 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2391, allocations: 0 / 0.7188 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.2392, allocations: 0 / 0.7188 GB, free: 15.44 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.006132/0.2453, allocations: 3.08 MB / 0.7218 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2454, allocations: 8.031 kB / 0.7218 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.2459, allocations: 291.1 kB / 0.7221 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.2486, allocations: 1.497 MB / 0.7236 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2487, allocations: 144.1 kB / 0.7237 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.249, allocations: 188.3 kB / 0.7239 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.2529, allocations: 2.163 MB / 0.726 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.2529, allocations: 0 / 0.726 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.2531, allocations: 83.92 kB / 0.7261 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.2531, allocations: 44 kB / 0.7261 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004104/0.2572, allocations: 2.275 MB / 0.7283 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.2687, allocations: 8.97 MB / 0.7371 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.272, allocations: 1.777 MB / 0.7388 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.2737, allocations: 0.8852 MB / 0.7397 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008972/0.2826, allocations: 6.785 MB / 0.7463 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.2845, allocations: 0.9522 MB / 0.7473 GB, free: 364 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=200): time 4.148e-06/0.2845, allocations: 0 / 0.7473 GB, free: 364 kB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.2523/0.5368, allocations: 3.004 MB / 0.7502 GB, free: 126 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5369, allocations: 75.78 kB / 0.7503 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.5383, allocations: 1.233 MB / 0.7515 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5384, allocations: 58.11 kB / 0.7515 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/0.5389, allocations: 0.877 MB / 0.7524 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.5393, allocations: 0.6991 MB / 0.7531 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/0.5398, allocations: 331.1 kB / 0.7534 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.5398, allocations: 304.7 kB / 0.7537 GB, free: 124 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.5409, allocations: 0.6505 MB / 0.7543 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.5423, allocations: 0.887 MB / 0.7552 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002583/0.5449, allocations: 1.669 MB / 0.7568 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5449, allocations: 3.719 kB / 0.7568 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004432/0.5493, allocations: 2.157 MB / 0.7589 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.5493, allocations: 34.61 kB / 0.7589 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.5494, allocations: 4.688 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.55, allocations: 159.6 kB / 0.7591 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.5515, allocations: 405.8 kB / 0.7595 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.5548, allocations: 4.837 MB / 0.7642 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5558, allocations: 163.8 kB / 0.7644 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.556, allocations: 87.72 kB / 0.7645 GB, free: 116.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006501/0.5567, allocations: 365.5 kB / 0.7648 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.557, allocations: 208.9 kB / 0.765 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/0.5632, allocations: 3.411 MB / 0.7683 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.5632, allocations: 10.92 kB / 0.7683 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5632, allocations: 5.047 kB / 0.7683 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/0.5639, allocations: 0.5342 MB / 0.7689 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.5641, allocations: 45.81 kB / 0.7689 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/0.5648, allocations: 51.12 kB / 0.769 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.565, allocations: 179.2 kB / 0.7691 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004063/0.5691, allocations: 2.279 MB / 0.7714 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004631/0.5737, allocations: 3.263 MB / 0.7745 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001201/0.5749, allocations: 0.8569 MB / 0.7754 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009456/0.5759, allocations: 0.8525 MB / 0.7762 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of Backend: time 4.41e-07/0.5759, allocations: 4.688 kB / 0.7762 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004099/0.58, allocations: 2.482 MB / 0.7786 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004728/0.5847, allocations: 4.146 MB / 0.7827 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.3853/0.97, allocations: 45.77 MB / 0.8274 GB, free: 61.43 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 9.627154916001018] Failed to read output from testmodel.py, exit status != 0: 0.9785013440414332 0.995851809 0.7531629590000001 Calling exit ...