Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.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.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor.m_flow|compressor.omega|compressor.phi|fan.m_flow|fan1.m_flow|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|heatExchange_CounterFlowNTU1.h_out_A|heatExchange_CounterFlowNTU1.h_out_B|heatExchange_CounterFlowNTU2.h_out_A|heatExchange_CounterFlowNTU2.h_out_B|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle") translateModel(ThermofluidStream.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor.m_flow|compressor.omega|compressor.phi|fan.m_flow|fan1.m_flow|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|heatExchange_CounterFlowNTU1.h_out_A|heatExchange_CounterFlowNTU1.h_out_B|heatExchange_CounterFlowNTU2.h_out_A|heatExchange_CounterFlowNTU2.h_out_B|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 109.5 kB / 16.42 MB, free: 6.461 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.001383/0.001383, allocations: 187.9 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6591/0.6591, allocations: 91.19 MB / 382.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 79.88 kB / 0.5175 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2709, allocations: 67.69 MB / 0.5836 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.6385/0.9094, allocations: 395.5 MB / 0.9699 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4425/1.352, allocations: 72.73 MB / 1.041 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/1.354, allocations: 68.59 kB / 1.041 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00494/1.359, allocations: 2.465 MB / 1.043 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02151/1.38, allocations: 9.574 MB / 1.053 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01733/1.398, allocations: 7.415 MB / 1.06 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006003/1.404, allocations: 4.264 MB / 1.064 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/1.406, allocations: 1.123 MB / 1.065 GB, free: 16.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/1.411, allocations: 2.243 MB / 1.067 GB, free: 16.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003774/1.415, allocations: 1.963 MB / 1.069 GB, free: 16.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/1.416, allocations: 306.9 kB / 1.07 GB, free: 16.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04471/1.46, allocations: 25.41 MB / 1.094 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/1.462, allocations: 0.9739 MB / 1.095 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00325/1.465, allocations: 1.608 MB / 1.097 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03378/1.499, allocations: 14.04 MB / 1.111 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.499, allocations: 4 kB / 1.111 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/1.499, allocations: 0 / 1.111 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000113/1.499, allocations: 0 / 1.111 GB, free: 10.95 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01493/1.514, allocations: 5.648 MB / 1.116 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.514, allocations: 12.22 kB / 1.116 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/1.515, allocations: 322.5 kB / 1.116 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/1.518, allocations: 1.526 MB / 1.118 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006745/1.519, allocations: 0.702 MB / 1.119 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/1.519, allocations: 255.8 kB / 1.119 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007914/1.527, allocations: 4.351 MB / 1.123 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/1.527, allocations: 0 / 1.123 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/1.528, allocations: 97.78 kB / 1.123 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/1.528, allocations: 207.8 kB / 1.123 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008369/1.536, allocations: 5.082 MB / 1.128 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/1.558, allocations: 15.61 MB / 1.144 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/1.564, allocations: 3.013 MB / 1.147 GB, free: 2.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003801/1.568, allocations: 2.278 MB / 1.149 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007722/1.575, allocations: 9.348 MB / 1.158 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/1.576, allocations: 68.58 kB / 1.158 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=309): time 6.983e-06/1.576, allocations: 0 / 1.158 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=314): time 0.0299/1.605, allocations: 12.95 MB / 1.171 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.606, allocations: 214.4 kB / 1.171 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.607, allocations: 1.142 MB / 1.172 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004028/1.608, allocations: 78.41 kB / 1.172 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/1.608, allocations: 0.8109 MB / 1.173 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009742/1.609, allocations: 1.049 MB / 1.174 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.61, allocations: 0.5174 MB / 1.174 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.61, allocations: 301.1 kB / 1.175 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/1.614, allocations: 1.703 MB / 1.176 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.618, allocations: 1.923 MB / 1.178 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/1.625, allocations: 3.668 MB / 1.182 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.625, allocations: 0 / 1.182 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01307/1.638, allocations: 5.276 MB / 1.187 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.638, allocations: 8 kB / 1.187 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/1.638, allocations: 16 kB / 1.187 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/1.641, allocations: 0.8375 MB / 1.188 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/1.644, allocations: 0.6115 MB / 1.188 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.663, allocations: 14.68 MB / 1.203 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.665, allocations: 141.9 kB / 1.203 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007363/1.666, allocations: 183.9 kB / 1.203 GB, free: 9.199 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (276): * Single equations (assignments): 251 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,17,100.0%), (1,3,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,1,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001633/1.668, allocations: 0.5483 MB / 1.204 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008742/1.669, allocations: 213.4 kB / 1.204 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/1.687, allocations: 8.252 MB / 1.212 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-05/1.687, allocations: 15.94 kB / 1.212 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/1.687, allocations: 15.98 kB / 1.212 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.688, allocations: 0.67 MB / 1.213 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006318/1.689, allocations: 61.09 kB / 1.213 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.691, allocations: 158.1 kB / 1.213 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005189/1.691, allocations: 275 kB / 1.213 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01266/1.704, allocations: 4.974 MB / 1.218 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01253/1.717, allocations: 6.808 MB / 1.224 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003547/1.72, allocations: 2.007 MB / 1.226 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001245/1.721, allocations: 0.8832 MB / 1.227 GB, free: 268 kB / 0.8731 GB Notification: Performance of Backend: time 4.11e-07/1.721, allocations: 0 / 1.227 GB, free: 268 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02439/1.746, allocations: 9.014 MB / 1.236 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of SimCode: time 0.009614/1.755, allocations: 6.111 MB / 1.242 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of Templates: time 0.1902/1.946, allocations: 140.7 MB / 1.38 GB, free: 5.203 MB / 1.029 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1)