Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.00163/0.00163, allocations: 113.2 kB / 18.68 MB, free: 3.316 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.001641/0.001641, allocations: 200.4 kB / 21.94 MB, free: 76 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.454/1.454, 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.7537/0.7537, allocations: 94.59 MB / 400.4 MB, free: 15.8 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.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|boundaryFore10.rear.m_flow|boundaryFore11.rear.m_flow|boundaryFore6.rear.m_flow|boundaryFore7.rear.m_flow|boundaryFore8.rear.m_flow|boundaryRear.fore.m_flow|boundaryRear2.fore.m_flow|boundaryRear3.fore.m_flow|boundaryRear6.fore.m_flow|boundaryRear7.fore.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|mCV7.dp_int|mCV8.dp_int|mCV9.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|boundaryFore10.rear.m_flow|boundaryFore11.rear.m_flow|boundaryFore6.rear.m_flow|boundaryFore7.rear.m_flow|boundaryFore8.rear.m_flow|boundaryRear.fore.m_flow|boundaryRear2.fore.m_flow|boundaryRear3.fore.m_flow|boundaryRear6.fore.m_flow|boundaryRear7.fore.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|mCV7.dp_int|mCV8.dp_int|mCV9.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 79.03 kB / 0.5464 GB, free: 42.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.0987, allocations: 71.85 MB / 0.6166 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.MCV): time 0.5056/0.6043, allocations: 233.6 MB / 0.8447 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03815/0.6425, allocations: 28.63 MB / 0.8727 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004813/0.6473, allocations: 151.7 kB / 0.8728 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005336/0.6526, allocations: 1.849 MB / 0.8746 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01325/0.6659, allocations: 4.588 MB / 0.8791 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009213/0.6751, allocations: 3.243 MB / 0.8823 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.6862, allocations: 6.943 MB / 0.8891 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.6879, allocations: 0.6223 MB / 0.8897 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007428/0.6953, allocations: 3.334 MB / 0.8929 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005765/0.7011, allocations: 3.323 MB / 0.8962 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.7024, allocations: 340 kB / 0.8965 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.7147, allocations: 5.018 MB / 0.9014 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.7162, allocations: 0.871 MB / 0.9023 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003602/0.7198, allocations: 2.218 MB / 0.9044 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.7347, allocations: 6.658 MB / 0.9109 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7347, allocations: 4 kB / 0.9109 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7347, allocations: 0 / 0.9109 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000118/0.7348, allocations: 0 / 0.9109 GB, free: 15.53 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 847 * Number of variables: 847 Notification: Performance of Generate backend data structure: time 0.01226/0.7471, allocations: 5.398 MB / 0.9162 GB, free: 10 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.7471, allocations: 11.97 kB / 0.9162 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.7482, allocations: 0.5095 MB / 0.9167 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/0.754, allocations: 2.65 MB / 0.9193 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.7542, allocations: 251 kB / 0.9195 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006377/0.7548, allocations: 352.3 kB / 0.9199 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007902/0.7627, allocations: 4.025 MB / 0.9238 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.7628, allocations: 11.88 kB / 0.9238 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.7631, allocations: 140 kB / 0.9239 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-05/0.7632, allocations: 87.94 kB / 0.924 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008284/0.7715, allocations: 3.834 MB / 0.9278 GB, free: 13.85 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/0.7957, allocations: 17.5 MB / 0.9449 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008224/0.8039, allocations: 3.42 MB / 0.9482 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/0.8078, allocations: 1.666 MB / 0.9498 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.8247, allocations: 12 MB / 0.9615 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00443/0.8291, allocations: 2.132 MB / 0.9636 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=430): time 7.755e-06/0.8291, allocations: 0 / 0.9636 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430): time 0.01544/0.8446, allocations: 6.258 MB / 0.9697 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/0.8448, allocations: 345.3 kB / 0.9701 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.8484, allocations: 2.527 MB / 0.9725 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005828/0.849, allocations: 105.7 kB / 0.9726 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.8505, allocations: 1.505 MB / 0.9741 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001857/0.8524, allocations: 1.495 MB / 0.9756 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.8538, allocations: 0.6935 MB / 0.9762 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8539, allocations: 301.1 kB / 0.9765 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.8572, allocations: 1.296 MB / 0.9778 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.8613, allocations: 1.881 MB / 0.9796 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007601/0.8689, allocations: 3.551 MB / 0.9831 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.8689, allocations: 7.938 kB / 0.9831 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=515) (initialization): time 0.01149/0.8804, allocations: 4.601 MB / 0.9876 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.8806, allocations: 174.2 kB / 0.9878 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.8806, allocations: 16 kB / 0.9878 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.8818, allocations: 376.3 kB / 0.9881 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.8856, allocations: 0.8971 MB / 0.989 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.8987, allocations: 14.93 MB / 1.004 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.902, allocations: 440.8 kB / 1.004 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/0.9026, allocations: 187.9 kB / 1.004 GB, free: 10.54 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (483): * Single equations (assignments): 467 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001531/0.9042, allocations: 0.5936 MB / 1.005 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009994/0.9052, allocations: 437.2 kB / 1.005 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.9186, allocations: 5.906 MB / 1.011 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.134e-05/0.9186, allocations: 23.92 kB / 1.011 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.9187, allocations: 4 kB / 1.011 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/0.9208, allocations: 0.8679 MB / 1.012 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/0.9216, allocations: 111.7 kB / 1.012 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.9237, allocations: 143.9 kB / 1.012 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007895/0.9245, allocations: 366.5 kB / 1.012 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01313/0.9377, allocations: 4.994 MB / 1.017 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0138/0.9515, allocations: 6.44 MB / 1.024 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004107/0.9556, allocations: 1.664 MB / 1.025 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002975/0.9585, allocations: 1.821 MB / 1.027 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of Backend: time 1.002e-06/0.9586, allocations: 0 / 1.027 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.013/0.9715, allocations: 5.142 MB / 1.032 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of SimCode: time 0.0153/0.9868, allocations: 8.17 MB / 1.04 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.3963/1.383, allocations: 81.44 MB / 1.12 GB, free: 153.4 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 9.89094670600025] Failed to read output from testmodel.py, exit status != 0: 1.3909680959768593 1.4014917089999999 0.664118527 Calling exit ...