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.001688/0.001688, allocations: 110.8 kB / 16.4 MB, free: 6.512 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.001951/0.001951, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.478/1.478, allocations: 222.9 MB / 245.1 MB, free: 15 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.8224/0.8224, allocations: 93.73 MB / 390.9 MB, free: 4.652 MB / 302.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: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 83.69 kB / 0.5285 GB, free: 40.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1425, allocations: 68.27 MB / 0.5951 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.8891/1.032, allocations: 395.6 MB / 0.9814 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7605/1.792, allocations: 72.75 MB / 1.052 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/1.796, allocations: 70.19 kB / 1.053 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009088/1.806, allocations: 2.365 MB / 1.055 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03173/1.837, allocations: 9.469 MB / 1.064 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02439/1.862, allocations: 7.358 MB / 1.071 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009542/1.871, allocations: 4.317 MB / 1.075 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/1.875, allocations: 1.12 MB / 1.077 GB, free: 16.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007774/1.883, allocations: 2.225 MB / 1.079 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005777/1.888, allocations: 1.967 MB / 1.081 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00208/1.891, allocations: 306.3 kB / 1.081 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0624/1.953, allocations: 25.38 MB / 1.106 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/1.956, allocations: 0.9771 MB / 1.107 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005022/1.961, allocations: 1.608 MB / 1.108 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.05256/2.013, allocations: 14.12 MB / 1.122 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/2.013, allocations: 0 / 1.122 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/2.013, allocations: 3.938 kB / 1.122 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001555/2.013, allocations: 4 kB / 1.122 GB, free: 9.922 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.01976/2.033, allocations: 5.86 MB / 1.128 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/2.033, allocations: 10.47 kB / 1.128 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008849/2.034, allocations: 363.6 kB / 1.128 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/2.035, allocations: 343.9 kB / 1.128 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/2.039, allocations: 1.553 MB / 1.13 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008416/2.04, allocations: 0.6992 MB / 1.131 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006869/2.04, allocations: 255.6 kB / 1.131 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/2.051, allocations: 4.349 MB / 1.135 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.26e-05/2.051, allocations: 7.891 kB / 1.135 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/2.051, allocations: 101.7 kB / 1.135 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/2.052, allocations: 209.4 kB / 1.135 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/2.063, allocations: 5.087 MB / 1.14 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/2.092, allocations: 15.64 MB / 1.156 GB, free: 1.617 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/2.099, allocations: 3.004 MB / 1.159 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004694/2.104, allocations: 2.281 MB / 1.161 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/2.114, allocations: 9.343 MB / 1.17 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/2.114, allocations: 64.2 kB / 1.17 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=309): time 9.077e-06/2.114, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=314): time 0.03776/2.152, allocations: 13.01 MB / 1.183 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/2.152, allocations: 217.4 kB / 1.183 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/2.154, allocations: 1.156 MB / 1.184 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/2.156, allocations: 80.52 kB / 1.184 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008868/2.156, allocations: 0.8344 MB / 1.185 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002122/2.159, allocations: 1.106 MB / 1.186 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/2.16, allocations: 0.5153 MB / 1.187 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001705/2.16, allocations: 301.1 kB / 1.187 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/2.164, allocations: 1.703 MB / 1.189 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/2.17, allocations: 1.925 MB / 1.19 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009999/2.18, allocations: 3.673 MB / 1.194 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/2.18, allocations: 0 / 1.194 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01729/2.197, allocations: 5.29 MB / 1.199 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/2.197, allocations: 8 kB / 1.199 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.491e-05/2.197, allocations: 12 kB / 1.199 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/2.201, allocations: 0.8269 MB / 1.2 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003813/2.204, allocations: 0.6152 MB / 1.201 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/2.228, allocations: 14.68 MB / 1.215 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/2.231, allocations: 138 kB / 1.215 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009795/2.232, allocations: 187.9 kB / 1.215 GB, free: 5.016 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.00281/2.235, allocations: 0.545 MB / 1.216 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/2.236, allocations: 230.5 kB / 1.216 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/2.257, allocations: 8.262 MB / 1.224 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00014/2.257, allocations: 32 kB / 1.224 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/2.258, allocations: 12 kB / 1.224 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.352e-05/2.258, allocations: 15.94 kB / 1.224 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/2.284, allocations: 9.322 MB / 1.233 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.734e-05/2.284, allocations: 8 kB / 1.233 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/2.288, allocations: 0.6149 MB / 1.234 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/2.291, allocations: 0.8544 MB / 1.235 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/2.291, allocations: 121.9 kB / 1.235 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/2.314, allocations: 14.68 MB / 1.249 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.314, allocations: 0 / 1.249 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/2.335, allocations: 7.734 MB / 1.257 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/2.337, allocations: 0.6827 MB / 1.257 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/2.338, allocations: 66.09 kB / 1.257 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/2.34, allocations: 145.4 kB / 1.258 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/2.34, allocations: 254.5 kB / 1.258 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/2.341, allocations: 171.9 kB / 1.258 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001528/2.342, allocations: 0.9362 MB / 1.259 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/2.342, allocations: 0 / 1.259 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01192/2.354, allocations: 3.299 MB / 1.262 GB, free: 4.07 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (heatExchange_CounterFlowNTU.h_out_A,heatExchange_CounterFlowNTU.h_out_B,heatExchange_CounterFlowNTU1.h_out_A,heatExchange_CounterFlowNTU1.h_out_B,compressor.m_flow,compressor.phi,compressor.omega,heatExchange_CounterFlowNTU2.inletA.m_flow,heatExchange_CounterFlowNTU2.h_out_A,heatExchange_CounterFlowNTU2.h_out_B,turbine1.phi,turbine1.omega,splitterT1_1.splitterN.inlet.m_flow,splitterT1_2.splitterN.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 254 * 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 {(3,1,88.9%), (1,1,100.0%), (2,17,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03469/2.389, allocations: 12.32 MB / 1.274 GB, free: 7.988 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01414/2.403, allocations: 5.719 MB / 1.28 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.403, allocations: 8.125 kB / 1.28 GB, free: 2.148 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009291/2.412, allocations: 3.768 MB / 1.283 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006584/2.419, allocations: 0.9199 MB / 1.284 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07822/2.497, allocations: 26.75 MB / 1.31 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/2.499, allocations: 1.816 MB / 1.312 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004091/2.503, allocations: 1.428 MB / 1.314 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/2.506, allocations: 1.167 MB / 1.315 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of SimCode: time 1.593e-06/2.506, allocations: 4 kB / 1.315 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6979/3.203, allocations: 140.6 MB / 1.452 GB, free: 0.5232 GB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/22.86, allocations: 3.859 kB / 1.452 GB, free: 0.5232 GB / 1.029 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 26.771490557817742] Failed to read output from testmodel.py, exit status != 0: 23.032467094948515 23.048209912 21.031991387 Calling exit ...