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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6766/0.6766, allocations: 100.3 MB / 409.8 MB, free: 5.379 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 85.27 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4151, allocations: 74.41 MB / 0.6315 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.8533/1.268, allocations: 383.5 MB / 1.006 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.1087/1.377, allocations: 74.71 MB / 1.079 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/1.381, allocations: 134.8 kB / 1.079 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007235/1.388, allocations: 2.223 MB / 1.081 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03559/1.424, allocations: 10.94 MB / 1.092 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02512/1.449, allocations: 8.619 MB / 1.1 GB, free: 12.72 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006932/1.456, allocations: 4.386 MB / 1.105 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/1.457, allocations: 0.548 MB / 1.105 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005964/1.463, allocations: 2.834 MB / 1.108 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/1.466, allocations: 1.898 MB / 1.11 GB, free: 2.973 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008573/1.467, allocations: 264 kB / 1.11 GB, free: 2.715 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05441/1.522, allocations: 29.04 MB / 1.138 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/1.523, allocations: 0.8992 MB / 1.139 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/1.525, allocations: 1.578 MB / 1.141 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.04259/1.568, allocations: 15.06 MB / 1.156 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.568, allocations: 0 / 1.156 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.295e-06/1.568, allocations: 0 / 1.156 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001012/1.568, allocations: 0 / 1.156 GB, free: 4.031 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.331/1.899, allocations: 6.242 MB / 1.162 GB, free: 370.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/1.899, allocations: 10.31 kB / 1.162 GB, free: 370.3 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001223/1.899, allocations: 58.86 kB / 1.162 GB, free: 370.3 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004346/1.9, allocations: 338.4 kB / 1.162 GB, free: 370.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/1.901, allocations: 361.1 kB / 1.162 GB, free: 369.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/1.904, allocations: 1.767 MB / 1.164 GB, free: 369.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005295/1.904, allocations: 0.6812 MB / 1.165 GB, free: 368.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/1.904, allocations: 249 kB / 1.165 GB, free: 368.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005731/1.91, allocations: 3.973 MB / 1.169 GB, free: 367 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/1.91, allocations: 7.688 kB / 1.169 GB, free: 367 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/1.91, allocations: 91.64 kB / 1.169 GB, free: 366.9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/1.911, allocations: 197.4 kB / 1.169 GB, free: 366.9 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/1.917, allocations: 4.765 MB / 1.174 GB, free: 365.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/1.935, allocations: 14.58 MB / 1.188 GB, free: 354.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/1.939, allocations: 2.806 MB / 1.191 GB, free: 352.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/1.942, allocations: 2.108 MB / 1.193 GB, free: 351.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00583/1.948, allocations: 9.784 MB / 1.202 GB, free: 340.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.948, allocations: 69.44 kB / 1.202 GB, free: 340.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=318): time 7.835e-06/1.948, allocations: 0 / 1.202 GB, free: 340.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=318): time 0.01917/1.967, allocations: 8.829 MB / 1.211 GB, free: 334.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.967, allocations: 108.1 kB / 1.211 GB, free: 334.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.969, allocations: 1.431 MB / 1.213 GB, free: 332.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003824/1.969, allocations: 88.73 kB / 1.213 GB, free: 332.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/1.97, allocations: 0.9169 MB / 1.214 GB, free: 332 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007054/1.97, allocations: 1.116 MB / 1.215 GB, free: 331 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/1.971, allocations: 0.5154 MB / 1.215 GB, free: 330.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.002e-05/1.971, allocations: 301.1 kB / 1.215 GB, free: 330.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/1.974, allocations: 1.733 MB / 1.217 GB, free: 328.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/1.977, allocations: 1.922 MB / 1.219 GB, free: 326.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006276/1.983, allocations: 3.72 MB / 1.223 GB, free: 322.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.983, allocations: 0 / 1.223 GB, free: 322.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0114/1.994, allocations: 5.359 MB / 1.228 GB, free: 317.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.995, allocations: 7.938 kB / 1.228 GB, free: 317.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/1.995, allocations: 8 kB / 1.228 GB, free: 317.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00409/1.999, allocations: 1.095 MB / 1.229 GB, free: 316.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/2.001, allocations: 0.5844 MB / 1.23 GB, free: 315.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/2.016, allocations: 16.92 MB / 1.246 GB, free: 297.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/2.018, allocations: 279.6 kB / 1.246 GB, free: 297.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/2.019, allocations: 195.9 kB / 1.247 GB, free: 297.3 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (281): * Single equations (assignments): 248 * Array equations: 17 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,6,100.0%), (1,1,100.0%), (3,1,88.9%), (1,3,100.0%), (1,7,100.0%), (1,3,100.0%), (3,1,88.9%), (3,1,88.9%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001075/2.02, allocations: 495.8 kB / 1.247 GB, free: 296.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007989/2.02, allocations: 266.2 kB / 1.247 GB, free: 296.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/2.033, allocations: 7.569 MB / 1.255 GB, free: 289 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.851e-05/2.034, allocations: 36 kB / 1.255 GB, free: 288.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/2.034, allocations: 7.984 kB / 1.255 GB, free: 288.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/2.034, allocations: 19.94 kB / 1.255 GB, free: 288.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/2.049, allocations: 9.473 MB / 1.264 GB, free: 279.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/2.049, allocations: 8 kB / 1.264 GB, free: 279.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/2.052, allocations: 0.5934 MB / 1.265 GB, free: 278.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004167/2.056, allocations: 1.109 MB / 1.266 GB, free: 277.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000626/2.056, allocations: 119.6 kB / 1.266 GB, free: 277.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/2.071, allocations: 16.94 MB / 1.282 GB, free: 259.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.071, allocations: 4.219 kB / 1.282 GB, free: 259.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/2.086, allocations: 7.926 MB / 1.29 GB, free: 251.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/2.088, allocations: 0.7417 MB / 1.291 GB, free: 250.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007472/2.089, allocations: 69.45 kB / 1.291 GB, free: 250.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/2.091, allocations: 135.5 kB / 1.291 GB, free: 250.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/2.091, allocations: 265.5 kB / 1.291 GB, free: 250.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/2.092, allocations: 187.7 kB / 1.291 GB, free: 250.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001195/2.093, allocations: 1.071 MB / 1.292 GB, free: 249.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/2.093, allocations: 3.875 kB / 1.292 GB, free: 249.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00863/2.101, allocations: 3.563 MB / 1.296 GB, free: 246 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (turbine1.m_flow,turbine1.phi,turbine1.omega,hex.h_out_A,hex.h_out_B,fan1.m_flow,turbine.m_flow,turbine.phi,turbine.omega,mainHex.h_out_A,mainHex.h_out_B,primaryHex.h_out_A,primaryHex.h_out_B,fan.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 (288): * Single equations (assignments): 255 * Array equations: 17 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,3,100.0%), (1,1,100.0%), (3,1,88.9%), (1,6,100.0%), (3,1,88.9%), (1,3,100.0%), (1,5,100.0%), (3,1,88.9%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0238/2.125, allocations: 12.93 MB / 1.309 GB, free: 233.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01274/2.138, allocations: 6.17 MB / 1.315 GB, free: 227.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/2.138, allocations: 128 / 1.315 GB, free: 227.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006758/2.145, allocations: 3.845 MB / 1.318 GB, free: 223.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/2.149, allocations: 0.915 MB / 1.319 GB, free: 222.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04891/2.198, allocations: 27.87 MB / 1.346 GB, free: 194.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/2.199, allocations: 1.827 MB / 1.348 GB, free: 192.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002688/2.202, allocations: 1.341 MB / 1.35 GB, free: 191 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/2.203, allocations: 1.249 MB / 1.351 GB, free: 189.7 MB / 0.8419 GB Notification: Performance of SimCode: time 8.01e-07/2.203, allocations: 0 / 1.351 GB, free: 189.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/2.423, allocations: 147.2 MB / 1.494 GB, free: 42.81 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.06/24.48, allocations: 4.062 kB / 1.494 GB, free: 42.81 MB / 0.8419 GB " [Timeout remaining time 635] (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: 28.36954963800963] Failed to read output from testmodel.py, exit status != 0: 24.728122934990097 24.736581291 23.166312629 Calling exit ...