Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.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.001851/0.001851, allocations: 110.4 kB / 18.68 MB, free: 3.332 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.002004/0.002004, allocations: 200.4 kB / 21.93 MB, free: 92 kB / 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.458/1.458, allocations: 225.6 MB / 250.6 MB, free: 13.38 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.7339/0.7339, allocations: 94.59 MB / 400.4 MB, free: 15.81 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.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow|source6.outlet.m_flow|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV") translateModel(ThermofluidStream.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow|source6.outlet.m_flow|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 92.78 kB / 0.5464 GB, free: 42.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09975, allocations: 71.85 MB / 0.6166 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.MCV): time 0.5152/0.615, allocations: 199.2 MB / 0.8112 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02333/0.6383, allocations: 24.58 MB / 0.8352 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.641, allocations: 109.7 kB / 0.8353 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.6437, allocations: 1.16 MB / 0.8364 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.6506, allocations: 2.667 MB / 0.839 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.6554, allocations: 1.89 MB / 0.8409 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004659/0.6601, allocations: 3.817 MB / 0.8446 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.6608, allocations: 408 kB / 0.845 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.6639, allocations: 1.757 MB / 0.8467 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.6662, allocations: 1.651 MB / 0.8483 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.6665, allocations: 190.4 kB / 0.8485 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007239/0.6738, allocations: 3.38 MB / 0.8518 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.6743, allocations: 485.9 kB / 0.8522 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.6759, allocations: 1.268 MB / 0.8535 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006835/0.6828, allocations: 3.899 MB / 0.8573 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6828, allocations: 0 / 0.8573 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.316e-06/0.6828, allocations: 3.984 kB / 0.8573 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.6828, allocations: 0 / 0.8573 GB, free: 3.023 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.006962/0.6898, allocations: 3.569 MB / 0.8608 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.6898, allocations: 8.031 kB / 0.8608 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/0.6903, allocations: 318 kB / 0.8611 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.6938, allocations: 1.809 MB / 0.8629 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.6939, allocations: 122.9 kB / 0.863 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.6941, allocations: 182.4 kB / 0.8631 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.6977, allocations: 1.867 MB / 0.865 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.6977, allocations: 6.625 kB / 0.865 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.6979, allocations: 60 kB / 0.865 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.6979, allocations: 40 kB / 0.8651 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/0.702, allocations: 1.755 MB / 0.8668 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.7122, allocations: 7.751 MB / 0.8744 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005922/0.7181, allocations: 1.897 MB / 0.8762 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.7201, allocations: 0.8476 MB / 0.877 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/0.7278, allocations: 6.801 MB / 0.8837 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002373/0.7302, allocations: 1.072 MB / 0.8847 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=191): time 6.432e-06/0.7302, allocations: 7.938 kB / 0.8847 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191): time 0.008484/0.7387, allocations: 3.377 MB / 0.888 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.7388, allocations: 240 kB / 0.8883 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.7413, allocations: 1.821 MB / 0.89 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.7414, allocations: 65.7 kB / 0.8901 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/0.7423, allocations: 1.005 MB / 0.8911 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/0.7429, allocations: 0.6586 MB / 0.8917 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.7434, allocations: 323.5 kB / 0.892 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7435, allocations: 301.1 kB / 0.8923 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.7453, allocations: 0.6519 MB / 0.893 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.7474, allocations: 0.9058 MB / 0.8938 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/0.7512, allocations: 1.749 MB / 0.8955 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.7512, allocations: 4 kB / 0.8956 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005718/0.7569, allocations: 2.452 MB / 0.8979 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.7571, allocations: 178.2 kB / 0.8981 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.7571, allocations: 4 kB / 0.8981 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008026/0.7579, allocations: 264.3 kB / 0.8984 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.7596, allocations: 416.1 kB / 0.8988 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009281/0.7689, allocations: 10.57 MB / 0.9091 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7709, allocations: 234.6 kB / 0.9093 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.7711, allocations: 88.89 kB / 0.9094 GB, free: 10.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 30 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,$whenCondition6,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition4,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,pulse1.count,$PRE.pulse1.count,pulse1.T_start,$PRE.pulse1.T_start,$whenCondition1,pulse3.count,$PRE.pulse3.count,pulse3.T_start,$PRE.pulse3.T_start,$whenCondition3,pulse5.count,$PRE.pulse5.count,pulse5.T_start,$PRE.pulse5.T_start,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008049/0.7719, allocations: 371 kB / 0.9098 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/0.7723, allocations: 274.2 kB / 0.91 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006398/0.7787, allocations: 2.627 MB / 0.9126 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.7788, allocations: 7.969 kB / 0.9126 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.7788, allocations: 4 kB / 0.9126 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009196/0.7797, allocations: 0.5063 MB / 0.9131 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.78, allocations: 48 kB / 0.9131 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.7813, allocations: 115.9 kB / 0.9132 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.7817, allocations: 219.3 kB / 0.9135 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007396/0.7891, allocations: 2.843 MB / 0.9162 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007072/0.7962, allocations: 3.573 MB / 0.9197 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002182/0.7984, allocations: 0.8828 MB / 0.9206 GB, free: 15.47 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001819/0.8002, allocations: 1.237 MB / 0.9218 GB, free: 14.22 MB / 0.67 GB Notification: Performance of Backend: time 4.51e-07/0.8002, allocations: 0 / 0.9218 GB, free: 14.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007199/0.8074, allocations: 3.265 MB / 0.925 GB, free: 10.88 MB / 0.67 GB Notification: Performance of SimCode: time 0.008525/0.8159, allocations: 5.318 MB / 0.9302 GB, free: 5.52 MB / 0.67 GB Notification: Performance of Templates: time 0.08417/0.9001, allocations: 49.02 MB / 0.978 GB, free: 4.809 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 7.831241064006463] Failed to read output from testmodel.py, exit status != 0: 0.9078701960388571 0.923319809 0.23733814799999994 Calling exit ...