Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.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.001527/0.001527, allocations: 107 kB / 18.67 MB, free: 3.191 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.008039/0.008039, allocations: 196.1 kB / 21.93 MB, free: 5.598 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.503/1.503, 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.8015/0.8015, allocations: 94.6 MB / 400.4 MB, free: 15.83 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.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Examples.SimpleAirCycle") translateModel(ThermofluidStream.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Examples.SimpleAirCycle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 82.73 kB / 0.5464 GB, free: 42.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1618, allocations: 71.85 MB / 0.6166 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.9248/1.087, allocations: 399 MB / 1.006 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.6951/1.782, allocations: 73.52 MB / 1.078 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/1.786, allocations: 67.38 kB / 1.078 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.009763/1.796, allocations: 2.478 MB / 1.08 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02959/1.825, allocations: 9.609 MB / 1.09 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02249/1.848, allocations: 7.422 MB / 1.097 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008472/1.856, allocations: 4.322 MB / 1.101 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/1.858, allocations: 0.6539 MB / 1.102 GB, free: 16.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/1.864, allocations: 2.267 MB / 1.104 GB, free: 16.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/1.867, allocations: 2.053 MB / 1.106 GB, free: 16.39 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006104/1.868, allocations: 315.2 kB / 1.106 GB, free: 16.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05361/1.921, allocations: 26.17 MB / 1.132 GB, free: 16.15 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/1.923, allocations: 0.9822 MB / 1.133 GB, free: 16.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003003/1.926, allocations: 1.607 MB / 1.135 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.04353/1.97, allocations: 14.13 MB / 1.148 GB, free: 10.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.97, allocations: 0 / 1.148 GB, free: 10.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/1.97, allocations: 0 / 1.148 GB, free: 10.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.72e-05/1.97, allocations: 0 / 1.148 GB, free: 10.52 MB / 0.795 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.01596/1.986, allocations: 5.877 MB / 1.154 GB, free: 7.059 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.986, allocations: 12.34 kB / 1.154 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007981/1.987, allocations: 339 kB / 1.154 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/1.99, allocations: 1.553 MB / 1.156 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007023/1.991, allocations: 0.6934 MB / 1.157 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/1.991, allocations: 261.6 kB / 1.157 GB, free: 5.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007482/1.998, allocations: 4.322 MB / 1.161 GB, free: 2.59 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/1.998, allocations: 3.953 kB / 1.161 GB, free: 2.586 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/1.999, allocations: 97.56 kB / 1.161 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/1.999, allocations: 207.5 kB / 1.161 GB, free: 2.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008325/2.007, allocations: 5.088 MB / 1.166 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/2.033, allocations: 15.65 MB / 1.182 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005529/2.038, allocations: 2.781 MB / 1.184 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/2.042, allocations: 2.088 MB / 1.186 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009419/2.052, allocations: 9.338 MB / 1.196 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.638e-05/2.052, allocations: 69.95 kB / 1.196 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=309): time 7.043e-06/2.052, allocations: 0 / 1.196 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=314): time 0.04523/2.097, allocations: 12.99 MB / 1.208 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/2.097, allocations: 85.84 kB / 1.208 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/2.1, allocations: 1.155 MB / 1.21 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0008339/2.1, allocations: 79.81 kB / 1.21 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/2.101, allocations: 0.8306 MB / 1.21 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/2.103, allocations: 1.108 MB / 1.211 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/2.105, allocations: 0.5049 MB / 1.212 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001777/2.105, allocations: 309.1 kB / 1.212 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/2.109, allocations: 1.704 MB / 1.214 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/2.114, allocations: 1.89 MB / 1.216 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007852/2.121, allocations: 3.665 MB / 1.219 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/2.121, allocations: 3.984 kB / 1.219 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01338/2.135, allocations: 5.26 MB / 1.224 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/2.135, allocations: 8 kB / 1.224 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/2.135, allocations: 11.98 kB / 1.225 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/2.138, allocations: 0.835 MB / 1.225 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/2.141, allocations: 0.6142 MB / 1.226 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/2.163, allocations: 14.68 MB / 1.24 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/2.165, allocations: 150.4 kB / 1.24 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/2.166, allocations: 186.5 kB / 1.241 GB, free: 5.223 MB / 0.8731 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.001511/2.167, allocations: 0.5491 MB / 1.241 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007747/2.168, allocations: 230.5 kB / 1.241 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/2.186, allocations: 8.23 MB / 1.249 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.707e-05/2.186, allocations: 15.94 kB / 1.249 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/2.186, allocations: 8 kB / 1.249 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/2.189, allocations: 0.6865 MB / 1.25 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006051/2.189, allocations: 61.41 kB / 1.25 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/2.191, allocations: 157.7 kB / 1.25 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/2.192, allocations: 274.4 kB / 1.251 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01362/2.205, allocations: 4.96 MB / 1.255 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0144/2.22, allocations: 6.826 MB / 1.262 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00414/2.224, allocations: 1.821 MB / 1.264 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001455/2.225, allocations: 0.8996 MB / 1.265 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/2.225, allocations: 0 / 1.265 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.03387/2.259, allocations: 8.835 MB / 1.273 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0114/2.271, allocations: 6.237 MB / 1.279 GB, free: 13.62 MB / 0.92 GB Notification: Performance of Templates: time 0.5587/2.829, allocations: 142.6 MB / 1.419 GB, free: 0.5584 GB / 1.045 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 14.995403986016754] Failed to read output from testmodel.py, exit status != 0: 2.839342269988265 2.853218171 0.879797523 Calling exit ...