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.001468/0.001468, allocations: 119.9 kB / 16.42 MB, free: 6.488 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.001627/0.001627, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6727/0.6727, allocations: 91.18 MB / 382.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 83.86 kB / 0.5175 GB, free: 4.129 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2709, allocations: 67.68 MB / 0.5836 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.03568/0.3066, allocations: 41.12 MB / 0.6238 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.3139, allocations: 5.327 MB / 0.629 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.3147, allocations: 39.75 kB / 0.629 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.3159, allocations: 0.5471 MB / 0.6295 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.319, allocations: 1.363 MB / 0.6309 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.321, allocations: 0.8785 MB / 0.6317 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.3232, allocations: 2.13 MB / 0.6338 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.3236, allocations: 272.9 kB / 0.6341 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3262, allocations: 1.311 MB / 0.6354 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.3272, allocations: 0.77 MB / 0.6361 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3274, allocations: 104 kB / 0.6362 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3293, allocations: 0.7374 MB / 0.6369 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.3296, allocations: 266.9 kB / 0.6372 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005966/0.3302, allocations: 0.6567 MB / 0.6378 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.3326, allocations: 1.84 MB / 0.6396 GB, free: 4.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3326, allocations: 0 / 0.6396 GB, free: 4.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3326, allocations: 0 / 0.6396 GB, free: 4.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3327, allocations: 7.938 kB / 0.6396 GB, free: 4.602 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.003123/0.3358, allocations: 1.648 MB / 0.6412 GB, free: 2.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3358, allocations: 8.031 kB / 0.6412 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.3362, allocations: 147.2 kB / 0.6414 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.3377, allocations: 0.8639 MB / 0.6422 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.3378, allocations: 74.12 kB / 0.6423 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3379, allocations: 103.8 kB / 0.6424 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.3398, allocations: 1.073 MB / 0.6434 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3398, allocations: 4 kB / 0.6434 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.3399, allocations: 40 kB / 0.6435 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.34, allocations: 24 kB / 0.6435 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.3418, allocations: 1.012 MB / 0.6445 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.3474, allocations: 4.739 MB / 0.6491 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.3492, allocations: 0.9392 MB / 0.65 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.3501, allocations: 0.4954 MB / 0.6505 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004626/0.3547, allocations: 3.469 MB / 0.6539 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3548, allocations: 47.12 kB / 0.654 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=108): time 2.956e-06/0.3548, allocations: 0 / 0.654 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=122): time 0.01058/0.3654, allocations: 4.431 MB / 0.6583 GB, free: 300 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3654, allocations: 90.2 kB / 0.6584 GB, free: 192 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.3664, allocations: 0.7478 MB / 0.6591 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3665, allocations: 53.7 kB / 0.6591 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.3669, allocations: 472.6 kB / 0.6596 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.3672, allocations: 421.8 kB / 0.66 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.3675, allocations: 194.9 kB / 0.6602 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3676, allocations: 357.8 kB / 0.6605 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009276/0.3686, allocations: 418.4 kB / 0.6609 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3696, allocations: 0.5662 MB / 0.6615 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.3717, allocations: 1.044 MB / 0.6625 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3717, allocations: 0 / 0.6625 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003374/0.3751, allocations: 1.503 MB / 0.664 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3751, allocations: 4.438 kB / 0.664 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3751, allocations: 8 kB / 0.664 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.3762, allocations: 306.7 kB / 0.6643 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/0.3772, allocations: 231.7 kB / 0.6645 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009339/0.3865, allocations: 12.13 MB / 0.6763 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.3875, allocations: 52.02 kB / 0.6764 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3876, allocations: 59.86 kB / 0.6764 GB, free: 12.35 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.0004939/0.3881, allocations: 254.1 kB / 0.6767 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.3883, allocations: 118.6 kB / 0.6768 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.3923, allocations: 1.869 MB / 0.6786 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.3923, allocations: 3.984 kB / 0.6786 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3923, allocations: 0 / 0.6786 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.3926, allocations: 179.8 kB / 0.6788 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.3927, allocations: 27.98 kB / 0.6788 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.3935, allocations: 59.94 kB / 0.6789 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.3937, allocations: 100.9 kB / 0.679 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004618/0.3983, allocations: 1.692 MB / 0.6806 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003584/0.4019, allocations: 1.986 MB / 0.6826 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001027/0.4029, allocations: 0.52 MB / 0.6831 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007327/0.4037, allocations: 0.5509 MB / 0.6836 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of Backend: time 8.32e-07/0.4037, allocations: 0 / 0.6836 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004061/0.4078, allocations: 2.157 MB / 0.6857 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004257/0.412, allocations: 2.997 MB / 0.6887 GB, free: 15.56 MB / 0.545 GB Notification: Performance of Templates: time 0.0394/0.4515, allocations: 25.08 MB / 0.7132 GB, free: 6.68 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)