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.001564/0.001564, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00196/0.00196, allocations: 217.1 kB / 22.26 MB, free: 5.125 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.004 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.7417/0.7417, allocations: 100.3 MB / 412.7 MB, free: 3.715 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.002487/0.002487, allocations: 89.78 kB / 0.5632 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1294, allocations: 74.47 MB / 0.636 GB, free: 7.719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.7489/0.8782, allocations: 385.2 MB / 1.012 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.5203/1.398, allocations: 75.17 MB / 1.086 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/1.401, allocations: 135.8 kB / 1.086 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005384/1.407, allocations: 2.216 MB / 1.088 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02529/1.432, allocations: 11 MB / 1.099 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01922/1.451, allocations: 8.769 MB / 1.107 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006418/1.458, allocations: 4.401 MB / 1.111 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/1.459, allocations: 0.4982 MB / 1.112 GB, free: 16.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006079/1.465, allocations: 2.849 MB / 1.115 GB, free: 16.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/1.469, allocations: 1.908 MB / 1.117 GB, free: 16.49 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007064/1.47, allocations: 265.4 kB / 1.117 GB, free: 16.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0475/1.517, allocations: 29.25 MB / 1.145 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/1.519, allocations: 0.9 MB / 1.146 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002676/1.522, allocations: 1.576 MB / 1.148 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.03961/1.561, allocations: 15.06 MB / 1.162 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.561, allocations: 0.9375 kB / 1.163 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/1.561, allocations: 0 / 1.163 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.741e-05/1.561, allocations: 0 / 1.163 GB, free: 9.633 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.01564/1.577, allocations: 6.177 MB / 1.169 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.577, allocations: 11.22 kB / 1.169 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003913/1.577, allocations: 343.8 kB / 1.169 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/1.578, allocations: 363.9 kB / 1.169 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/1.582, allocations: 1.636 MB / 1.171 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008696/1.582, allocations: 1.046 MB / 1.172 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/1.583, allocations: 237.8 kB / 1.172 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006699/1.589, allocations: 4.049 MB / 1.176 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/1.59, allocations: 7.953 kB / 1.176 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/1.59, allocations: 95.11 kB / 1.176 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/1.59, allocations: 195.2 kB / 1.176 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007664/1.598, allocations: 4.887 MB / 1.181 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/1.62, allocations: 14.53 MB / 1.195 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005168/1.626, allocations: 2.821 MB / 1.198 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/1.629, allocations: 2.124 MB / 1.2 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/1.634, allocations: 1.203 MB / 1.201 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.777e-05/1.634, allocations: 70.95 kB / 1.201 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=318): time 8.266e-06/1.634, allocations: 4 kB / 1.201 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=318): time 0.02088/1.655, allocations: 8.033 MB / 1.209 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/1.655, allocations: 116.1 kB / 1.209 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/1.657, allocations: 1.425 MB / 1.211 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/1.658, allocations: 80.36 kB / 1.211 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/1.659, allocations: 0.9148 MB / 1.212 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/1.66, allocations: 1.122 MB / 1.213 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008357/1.661, allocations: 0.5111 MB / 1.213 GB, free: 168 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.661, allocations: 301.1 kB / 1.214 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/1.664, allocations: 1.742 MB / 1.215 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/1.668, allocations: 1.93 MB / 1.217 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007248/1.675, allocations: 3.76 MB / 1.221 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/1.675, allocations: 8 kB / 1.221 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0128/1.688, allocations: 5.369 MB / 1.226 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/1.688, allocations: 7.938 kB / 1.226 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-05/1.688, allocations: 19.98 kB / 1.226 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004486/1.692, allocations: 1.09 MB / 1.227 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/1.695, allocations: 0.5877 MB / 1.228 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/1.715, allocations: 16.01 MB / 1.243 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/1.718, allocations: 283.6 kB / 1.244 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/1.719, allocations: 201.6 kB / 1.244 GB, free: 15.87 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.001298/1.72, allocations: 482.3 kB / 1.244 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008769/1.721, allocations: 266.2 kB / 1.245 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.737, allocations: 7.592 MB / 1.252 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000113/1.737, allocations: 32 kB / 1.252 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/1.737, allocations: 8 kB / 1.252 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.941e-05/1.737, allocations: 19.94 kB / 1.252 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/1.758, allocations: 9.469 MB / 1.261 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/1.758, allocations: 8 kB / 1.261 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/1.76, allocations: 0.5958 MB / 1.262 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004459/1.765, allocations: 1.102 MB / 1.263 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005375/1.765, allocations: 126 kB / 1.263 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/1.785, allocations: 16.04 MB / 1.279 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.785, allocations: 0 / 1.279 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.802, allocations: 7.965 MB / 1.286 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.804, allocations: 0.6727 MB / 1.287 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/1.805, allocations: 61.95 kB / 1.287 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.806, allocations: 141 kB / 1.287 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/1.807, allocations: 262.8 kB / 1.288 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003635/1.807, allocations: 197 kB / 1.288 GB, free: 1.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001532/1.809, allocations: 1.071 MB / 1.289 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/1.809, allocations: 0 / 1.289 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009673/1.818, allocations: 3.567 MB / 1.292 GB, free: 13.16 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.02998/1.848, allocations: 12.98 MB / 1.305 GB, free: 432 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01556/1.864, allocations: 6.196 MB / 1.311 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.864, allocations: 0 / 1.311 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007954/1.872, allocations: 3.861 MB / 1.315 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/1.876, allocations: 0.901 MB / 1.316 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0584/1.935, allocations: 27.96 MB / 1.343 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/1.936, allocations: 1.827 MB / 1.345 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003439/1.94, allocations: 1.339 MB / 1.346 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/1.942, allocations: 1.245 MB / 1.347 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of SimCode: time 1.273e-06/1.942, allocations: 4 kB / 1.347 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5356/2.477, allocations: 149.6 MB / 1.493 GB, free: 0.527 GB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.3/24.78, allocations: 6.984 kB / 1.493 GB, free: 0.527 GB / 1.061 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 & 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: 28.580457189997105] Failed to read output from testmodel.py, exit status != 0: 24.991752902998996 25.007490074 23.44355927 Calling exit ...