Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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 (/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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 110.1 kB / 16.42 MB, free: 6.465 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.001645/0.001645, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6685/0.6685, allocations: 91.18 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 79.88 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2877, allocations: 67.68 MB / 0.5836 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.0356/0.3233, allocations: 41.11 MB / 0.6238 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.3303, allocations: 5.327 MB / 0.629 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3313, allocations: 39.75 kB / 0.629 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.3328, allocations: 0.5471 MB / 0.6295 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.3362, allocations: 1.371 MB / 0.6309 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.3385, allocations: 0.8808 MB / 0.6317 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.3412, allocations: 2.128 MB / 0.6338 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.3417, allocations: 272.9 kB / 0.6341 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.3444, allocations: 1.303 MB / 0.6354 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.3456, allocations: 0.7856 MB / 0.6361 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.346, allocations: 96 kB / 0.6362 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.3482, allocations: 0.7374 MB / 0.6369 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.3486, allocations: 262.9 kB / 0.6372 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000963/0.3496, allocations: 0.6567 MB / 0.6378 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.3528, allocations: 1.846 MB / 0.6396 GB, free: 4.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3528, allocations: 0 / 0.6396 GB, free: 4.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3528, allocations: 4 kB / 0.6396 GB, free: 4.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.3528, allocations: 3.938 kB / 0.6396 GB, free: 4.57 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003313/0.3561, allocations: 1.686 MB / 0.6413 GB, free: 2.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3562, allocations: 8.031 kB / 0.6413 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.3566, allocations: 160 kB / 0.6414 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.3581, allocations: 0.8725 MB / 0.6423 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.3582, allocations: 74.12 kB / 0.6424 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.3583, allocations: 92 kB / 0.6424 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3601, allocations: 1.077 MB / 0.6435 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.3602, allocations: 3.938 kB / 0.6435 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.3603, allocations: 40 kB / 0.6435 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.3603, allocations: 24 kB / 0.6436 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.3621, allocations: 1.008 MB / 0.6446 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005528/0.3676, allocations: 4.763 MB / 0.6492 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.3694, allocations: 0.9276 MB / 0.6501 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/0.3702, allocations: 0.5072 MB / 0.6506 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004232/0.3745, allocations: 3.477 MB / 0.654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3745, allocations: 43.12 kB / 0.654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=108): time 2.475e-06/0.3745, allocations: 0 / 0.654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=122): time 0.009944/0.3845, allocations: 4.469 MB / 0.6584 GB, free: 156 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3846, allocations: 90.2 kB / 0.6585 GB, free: 48 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.3854, allocations: 0.7518 MB / 0.6592 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.3855, allocations: 45.7 kB / 0.6593 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.3859, allocations: 481.4 kB / 0.6597 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.3862, allocations: 444.1 kB / 0.6602 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.3865, allocations: 198.9 kB / 0.6603 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3866, allocations: 353.9 kB / 0.6607 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.3875, allocations: 414.4 kB / 0.6611 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/0.3885, allocations: 0.5623 MB / 0.6616 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.3905, allocations: 1.044 MB / 0.6626 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3905, allocations: 4 kB / 0.6626 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003211/0.3937, allocations: 1.508 MB / 0.6641 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3938, allocations: 12.09 kB / 0.6641 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3938, allocations: 4 kB / 0.6641 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.3948, allocations: 302.6 kB / 0.6644 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/0.3958, allocations: 239.7 kB / 0.6647 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008828/0.4046, allocations: 12.13 MB / 0.6765 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.4054, allocations: 56.08 kB / 0.6765 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.4056, allocations: 55.92 kB / 0.6766 GB, free: 12.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.406, allocations: 253.6 kB / 0.6768 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.4063, allocations: 119.2 kB / 0.677 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.4102, allocations: 1.869 MB / 0.6788 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.4103, allocations: 7.969 kB / 0.6788 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4103, allocations: 0 / 0.6788 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.4105, allocations: 192.2 kB / 0.679 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4107, allocations: 24 kB / 0.679 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/0.4114, allocations: 59.89 kB / 0.6791 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.4116, allocations: 104.9 kB / 0.6792 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004527/0.4161, allocations: 1.689 MB / 0.6808 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003424/0.4196, allocations: 1.998 MB / 0.6828 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009755/0.4206, allocations: 0.52 MB / 0.6833 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007259/0.4213, allocations: 0.5586 MB / 0.6838 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of Backend: time 5.71e-07/0.4213, allocations: 0 / 0.6838 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004036/0.4253, allocations: 2.147 MB / 0.6859 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004089/0.4294, allocations: 3.051 MB / 0.6889 GB, free: 15.31 MB / 0.545 GB Notification: Performance of Templates: time 0.04056/0.47, allocations: 25.09 MB / 0.7134 GB, free: 6.43 MB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1)