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.001409/0.001409, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001456/0.001456, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.8654/0.8654, allocations: 100.3 MB / 409.1 MB, free: 5.004 MB / 318.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="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: 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.002494/0.002494, allocations: 87.98 kB / 0.5582 GB, free: 36.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.16, allocations: 74.43 MB / 0.6309 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.9677/1.128, allocations: 383.4 MB / 1.005 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.7067/1.834, allocations: 74.68 MB / 1.078 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/1.838, allocations: 136.3 kB / 1.078 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005604/1.843, allocations: 2.218 MB / 1.081 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03076/1.874, allocations: 10.94 MB / 1.091 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02275/1.897, allocations: 8.611 MB / 1.1 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008072/1.905, allocations: 4.398 MB / 1.104 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.906, allocations: 0.5511 MB / 1.104 GB, free: 16.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007516/1.914, allocations: 2.831 MB / 1.107 GB, free: 16.6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/1.918, allocations: 1.906 MB / 1.109 GB, free: 16.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000879/1.919, allocations: 266.3 kB / 1.109 GB, free: 16.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05378/1.973, allocations: 29.04 MB / 1.138 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002087/1.975, allocations: 0.8964 MB / 1.139 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003064/1.978, allocations: 1.571 MB / 1.14 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.04437/2.022, allocations: 15.06 MB / 1.155 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/2.022, allocations: 0 / 1.155 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.494e-06/2.022, allocations: 2.281 kB / 1.155 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001086/2.022, allocations: 0 / 1.155 GB, free: 9.684 MB / 0.8106 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.01857/2.041, allocations: 6.249 MB / 1.161 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/2.041, allocations: 8.938 kB / 1.161 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004625/2.041, allocations: 344.8 kB / 1.161 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/2.042, allocations: 360.8 kB / 1.162 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/2.046, allocations: 1.758 MB / 1.163 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007567/2.047, allocations: 0.6932 MB / 1.164 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004888/2.047, allocations: 238.1 kB / 1.164 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007272/2.055, allocations: 3.976 MB / 1.168 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/2.055, allocations: 6.484 kB / 1.168 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/2.055, allocations: 95.73 kB / 1.168 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/2.055, allocations: 202.9 kB / 1.168 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007875/2.063, allocations: 4.762 MB / 1.173 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/2.086, allocations: 14.58 MB / 1.187 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005424/2.091, allocations: 2.813 MB / 1.19 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003863/2.095, allocations: 2.104 MB / 1.192 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009864/2.105, allocations: 9.793 MB / 1.202 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/2.105, allocations: 68.69 kB / 1.202 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=318): time 8.947e-06/2.105, allocations: 0 / 1.202 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=318): time 0.02397/2.129, allocations: 8.833 MB / 1.21 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/2.129, allocations: 108.1 kB / 1.21 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/2.132, allocations: 1.428 MB / 1.212 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006115/2.132, allocations: 84.42 kB / 1.212 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008044/2.133, allocations: 0.9187 MB / 1.213 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001326/2.134, allocations: 1.113 MB / 1.214 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009827/2.135, allocations: 0.5094 MB / 1.214 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001597/2.135, allocations: 305.7 kB / 1.215 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/2.139, allocations: 1.731 MB / 1.216 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003944/2.143, allocations: 1.918 MB / 1.218 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/2.15, allocations: 3.729 MB / 1.222 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/2.15, allocations: 0 / 1.222 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01311/2.164, allocations: 5.363 MB / 1.227 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/2.164, allocations: 8 kB / 1.227 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/2.164, allocations: 8 kB / 1.227 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004617/2.168, allocations: 1.091 MB / 1.228 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/2.171, allocations: 0.5887 MB / 1.229 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/2.192, allocations: 16.92 MB / 1.245 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/2.194, allocations: 284.9 kB / 1.246 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005086/2.195, allocations: 198.6 kB / 1.246 GB, free: 4.539 MB / 0.8887 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.001347/2.196, allocations: 489 kB / 1.246 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000827/2.197, allocations: 262.3 kB / 1.247 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/2.214, allocations: 7.577 MB / 1.254 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/2.214, allocations: 43.98 kB / 1.254 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.924e-05/2.214, allocations: 8 kB / 1.254 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.384e-05/2.214, allocations: 15.94 kB / 1.254 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/2.234, allocations: 9.46 MB / 1.263 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.665e-05/2.234, allocations: 12 kB / 1.263 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00315/2.238, allocations: 0.5928 MB / 1.264 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004684/2.242, allocations: 1.103 MB / 1.265 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006723/2.243, allocations: 122 kB / 1.265 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/2.264, allocations: 16.94 MB / 1.282 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/2.264, allocations: 7.969 kB / 1.282 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/2.283, allocations: 7.919 MB / 1.289 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/2.285, allocations: 0.7558 MB / 1.29 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/2.286, allocations: 58.03 kB / 1.29 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/2.287, allocations: 134.6 kB / 1.29 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005782/2.288, allocations: 264 kB / 1.29 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004165/2.288, allocations: 190.2 kB / 1.291 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001632/2.29, allocations: 1.067 MB / 1.292 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/2.29, allocations: 4 kB / 1.292 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.01343/2.303, allocations: 3.563 MB / 1.295 GB, free: 0.6445 MB / 0.9356 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.03457/2.338, allocations: 12.94 MB / 1.308 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01674/2.355, allocations: 6.169 MB / 1.314 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.355, allocations: 7.188 kB / 1.314 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.009009/2.364, allocations: 3.836 MB / 1.318 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00642/2.37, allocations: 0.9148 MB / 1.318 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06653/2.437, allocations: 27.87 MB / 1.346 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/2.439, allocations: 1.831 MB / 1.347 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004218/2.443, allocations: 1.335 MB / 1.349 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002587/2.446, allocations: 1.249 MB / 1.35 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/2.446, allocations: 0 / 1.35 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6798/3.125, allocations: 147.1 MB / 1.494 GB, free: 0.5479 GB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.92/26.04, allocations: 8.75 kB / 1.494 GB, free: 0.5479 GB / 1.076 GB " [Timeout remaining time 634] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 30.2363078140188] Failed to read output from testmodel.py, exit status != 0: 26.240324581041932 26.259507764 24.233459298 Calling exit ...