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.001498/0.001498, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001625/0.001625, allocations: 209.9 kB / 22.24 MB, free: 4.855 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.785 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.8556/0.8556, allocations: 100.9 MB / 413.3 MB, free: 2.859 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.002622/0.002622, allocations: 84.27 kB / 0.5641 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1591, allocations: 74.63 MB / 0.6369 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.8389/0.998, allocations: 336.8 MB / 0.9658 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.09767/1.096, allocations: 67.09 MB / 1.031 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/1.099, allocations: 130.8 kB / 1.031 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005857/1.105, allocations: 1.88 MB / 1.033 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02786/1.132, allocations: 10.82 MB / 1.044 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02332/1.156, allocations: 8.687 MB / 1.052 GB, free: 4 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.4723/1.628, allocations: 4.36 MB / 1.057 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/1.629, allocations: 492 kB / 1.057 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007593/1.637, allocations: 2.837 MB / 1.06 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/1.641, allocations: 1.724 MB / 1.062 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008886/1.642, allocations: 260.7 kB / 1.062 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04353/1.685, allocations: 23.02 MB / 1.084 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/1.687, allocations: 0.8878 MB / 1.085 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002569/1.69, allocations: 1.3 MB / 1.086 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03619/1.726, allocations: 14.32 MB / 1.1 GB, free: 6.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.726, allocations: 0 / 1.1 GB, free: 6.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/1.726, allocations: 0.875 kB / 1.1 GB, free: 6.598 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001175/1.726, allocations: 0 / 1.1 GB, free: 6.598 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: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.02007/1.746, allocations: 6.117 MB / 1.106 GB, free: 19.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.746, allocations: 13 kB / 1.106 GB, free: 19.68 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005016/1.747, allocations: 339.5 kB / 1.107 GB, free: 19.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/1.748, allocations: 415.9 kB / 1.107 GB, free: 19.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/1.752, allocations: 1.631 MB / 1.109 GB, free: 18.97 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.754, allocations: 1.118 MB / 1.11 GB, free: 17.9 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004959/1.754, allocations: 247.5 kB / 1.11 GB, free: 17.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/1.76, allocations: 4.106 MB / 1.114 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/1.76, allocations: 0 / 1.114 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/1.761, allocations: 95.28 kB / 1.114 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/1.761, allocations: 190.8 kB / 1.114 GB, free: 17.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006627/1.767, allocations: 4.985 MB / 1.119 GB, free: 17.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/1.784, allocations: 9.558 MB / 1.129 GB, free: 16.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004634/1.789, allocations: 2.819 MB / 1.131 GB, free: 16.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/1.792, allocations: 2.062 MB / 1.133 GB, free: 16.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004378/1.796, allocations: 1.185 MB / 1.134 GB, free: 16.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/1.796, allocations: 72.02 kB / 1.135 GB, free: 16.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=318): time 7.734e-06/1.796, allocations: 0 / 1.135 GB, free: 16.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=318): time 0.01988/1.816, allocations: 8.155 MB / 1.142 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/1.816, allocations: 116.7 kB / 1.143 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/1.818, allocations: 1.424 MB / 1.144 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003791/1.818, allocations: 82.86 kB / 1.144 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/1.819, allocations: 0.9201 MB / 1.145 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007842/1.82, allocations: 1.121 MB / 1.146 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007351/1.82, allocations: 0.5037 MB / 1.147 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.821, allocations: 303.5 kB / 1.147 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.823, allocations: 1.681 MB / 1.148 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/1.826, allocations: 1.871 MB / 1.15 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/1.832, allocations: 3.658 MB / 1.154 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.832, allocations: 1.969 kB / 1.154 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01147/1.843, allocations: 5.151 MB / 1.159 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/1.843, allocations: 4 kB / 1.159 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.092e-05/1.844, allocations: 13.09 kB / 1.159 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004475/1.848, allocations: 1.048 MB / 1.16 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/1.851, allocations: 0.5051 MB / 1.16 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/1.87, allocations: 15.77 MB / 1.176 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.873, allocations: 293.3 kB / 1.176 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006028/1.873, allocations: 194 kB / 1.176 GB, free: 12.62 MB / 0.8262 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%), (2,2,100.0%), (1,3,100.0%), (1,7,100.0%), (1,3,100.0%), (2,2,100.0%), (2,2,100.0%), (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.001296/1.875, allocations: 487.8 kB / 1.177 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.876, allocations: 294.3 kB / 1.177 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.891, allocations: 7.339 MB / 1.184 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001687/1.891, allocations: 32 kB / 1.184 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/1.891, allocations: 10.72 kB / 1.184 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001177/1.891, allocations: 15.94 kB / 1.184 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/1.913, allocations: 8.519 MB / 1.193 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.321e-05/1.913, allocations: 8 kB / 1.193 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.915, allocations: 0.5131 MB / 1.193 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/1.92, allocations: 1.057 MB / 1.194 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006763/1.92, allocations: 124.3 kB / 1.194 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/1.939, allocations: 15.78 MB / 1.21 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.939, allocations: 4.438 kB / 1.21 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.956, allocations: 7.818 MB / 1.217 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.958, allocations: 0.6688 MB / 1.218 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/1.959, allocations: 67 kB / 1.218 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.961, allocations: 137.4 kB / 1.218 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/1.961, allocations: 267.5 kB / 1.218 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/1.962, allocations: 193.2 kB / 1.219 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001551/1.963, allocations: 1.071 MB / 1.22 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/1.963, allocations: 0 / 1.22 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.009712/1.973, allocations: 3.536 MB / 1.223 GB, free: 15.68 MB / 0.8731 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,6,100.0%), (1,3,100.0%), (1,1,100.0%), (2,2,100.0%), (1,7,100.0%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03105/2.004, allocations: 12.8 MB / 1.236 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01503/2.019, allocations: 5.999 MB / 1.241 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.218e-05/2.019, allocations: 7.938 kB / 1.241 GB, free: 13 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01083/2.03, allocations: 4.012 MB / 1.245 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/2.034, allocations: 0.9003 MB / 1.246 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05505/2.089, allocations: 27.59 MB / 1.273 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/2.091, allocations: 1.269 MB / 1.274 GB, free: 11.05 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003434/2.094, allocations: 1.336 MB / 1.276 GB, free: 9.715 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/2.096, allocations: 1.253 MB / 1.277 GB, free: 8.465 MB / 0.92 GB Notification: Performance of SimCode: time 1.012e-06/2.096, allocations: 0 / 1.277 GB, free: 8.465 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2855/2.382, allocations: 151.7 MB / 1.425 GB, free: 1.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.79/23.17, allocations: 7.219 kB / 1.425 GB, free: 1.965 MB / 1.061 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 & 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: 27.41474446002394] Failed to read output from testmodel.py, exit status != 0: 23.394521981012076 23.673799425 21.945130006 Calling exit ...