Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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.001984/0.001984, allocations: 108.4 kB / 19.97 MB, free: 1.875 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.002309/0.002309, allocations: 191.1 kB / 23.29 MB, free: 5.008 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.461/1.461, allocations: 225.6 MB / 252.1 MB, free: 12.85 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.7899/0.7899, allocations: 94.59 MB / 402 MB, free: 15.04 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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 88.55 kB / 0.5484 GB, free: 42.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1032, allocations: 71.89 MB / 0.6186 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4942/0.5974, allocations: 193.4 MB / 0.8075 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006068/0.6035, allocations: 5.589 MB / 0.8129 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008664/0.6044, allocations: 34.16 kB / 0.813 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.6054, allocations: 419.3 kB / 0.8134 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.6089, allocations: 1.458 MB / 0.8148 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.6109, allocations: 0.8562 MB / 0.8156 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003821/0.6148, allocations: 2.717 MB / 0.8183 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.6151, allocations: 152 kB / 0.8184 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.6184, allocations: 1.907 MB / 0.8203 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.6194, allocations: 0.7162 MB / 0.821 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.6195, allocations: 73.16 kB / 0.8211 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.6225, allocations: 1.272 MB / 0.8223 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.6226, allocations: 199 kB / 0.8225 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.6231, allocations: 486.8 kB / 0.823 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.6257, allocations: 1.745 MB / 0.8247 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6258, allocations: 0 / 0.8247 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6258, allocations: 0 / 0.8247 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.6258, allocations: 4 kB / 0.8247 GB, free: 0.8789 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003282/0.629, allocations: 1.61 MB / 0.8262 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6291, allocations: 8.625 kB / 0.8262 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.6303, allocations: 189.5 kB / 0.8264 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.6314, allocations: 0.7243 MB / 0.8271 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.6315, allocations: 82.78 kB / 0.8272 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6316, allocations: 63.97 kB / 0.8273 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.6333, allocations: 0.8112 MB / 0.8281 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.6334, allocations: 2.531 kB / 0.8281 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.6335, allocations: 22.36 kB / 0.8281 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.6335, allocations: 15.53 kB / 0.8281 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.6354, allocations: 0.6941 MB / 0.8288 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.6406, allocations: 3.617 MB / 0.8323 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.6426, allocations: 0.666 MB / 0.833 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009046/0.6435, allocations: 320.9 kB / 0.8333 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009993/0.6445, allocations: 0.4996 MB / 0.8338 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.6457, allocations: 0.5123 MB / 0.8343 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.555e-06/0.6457, allocations: 0 / 0.8343 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003882/0.6496, allocations: 1.358 MB / 0.8356 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.6496, allocations: 85.8 kB / 0.8357 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.6505, allocations: 0.6691 MB / 0.8363 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.6506, allocations: 40.67 kB / 0.8364 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.6509, allocations: 396.5 kB / 0.8367 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.6511, allocations: 244.9 kB / 0.837 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.6514, allocations: 172 kB / 0.8371 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6516, allocations: 332.4 kB / 0.8375 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000897/0.6525, allocations: 296.2 kB / 0.8377 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009727/0.6535, allocations: 393.5 kB / 0.8381 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.6553, allocations: 0.7363 MB / 0.8388 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6553, allocations: 0 / 0.8388 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002585/0.6579, allocations: 1.026 MB / 0.8398 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.658, allocations: 59.41 kB / 0.8399 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.658, allocations: 10.83 kB / 0.8399 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.6584, allocations: 86.72 kB / 0.84 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.6591, allocations: 193.6 kB / 0.8402 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.6619, allocations: 3.064 MB / 0.8432 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.6628, allocations: 102.9 kB / 0.8433 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.6629, allocations: 76.83 kB / 0.8433 GB, free: 3.457 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0004308/0.6633, allocations: 212.4 kB / 0.8435 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.6635, allocations: 95.33 kB / 0.8436 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.6677, allocations: 1.795 MB / 0.8454 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.6677, allocations: 11.11 kB / 0.8454 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/0.6677, allocations: 10.36 kB / 0.8454 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.6682, allocations: 251.6 kB / 0.8456 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6683, allocations: 17.97 kB / 0.8457 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.669, allocations: 54.36 kB / 0.8457 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.6693, allocations: 111.4 kB / 0.8458 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003452/0.6727, allocations: 1.121 MB / 0.8469 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003672/0.6764, allocations: 1.497 MB / 0.8484 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001073/0.6775, allocations: 351.7 kB / 0.8487 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006886/0.6782, allocations: 471 kB / 0.8492 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of Backend: time 5.2e-07/0.6782, allocations: 0 / 0.8492 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004167/0.6823, allocations: 1.499 MB / 0.8506 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003688/0.686, allocations: 2.287 MB / 0.8529 GB, free: 11 MB / 0.6075 GB Notification: Performance of Templates: time 0.04292/0.7289, allocations: 22.75 MB / 0.8751 GB, free: 4.484 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.814224608009681] Failed to read output from testmodel.py, exit status != 0: 0.7369835710269399 0.753308484 0.12423044200000001 Calling exit ...