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.001937/0.001937, 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.002037/0.002037, allocations: 215.5 kB / 22.25 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.789 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.7923/0.7923, allocations: 100.9 MB / 413.3 MB, free: 2.875 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.002559/0.002559, allocations: 98.27 kB / 0.5641 GB, free: 35.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1604, allocations: 74.61 MB / 0.6369 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.8009/0.9613, allocations: 336.8 MB / 0.9658 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.09527/1.057, allocations: 67.1 MB / 1.031 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/1.061, allocations: 130.8 kB / 1.031 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006099/1.067, allocations: 1.868 MB / 1.033 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0315/1.099, allocations: 10.83 MB / 1.044 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02317/1.122, allocations: 8.673 MB / 1.052 GB, free: 48 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.5478/1.67, allocations: 4.358 MB / 1.057 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/1.671, allocations: 497 kB / 1.057 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009973/1.681, allocations: 2.836 MB / 1.06 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005347/1.687, allocations: 1.726 MB / 1.062 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001428/1.688, allocations: 261.2 kB / 1.062 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05034/1.739, allocations: 23.02 MB / 1.084 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002117/1.741, allocations: 0.886 MB / 1.085 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004676/1.745, allocations: 1.298 MB / 1.086 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.04653/1.792, allocations: 14.33 MB / 1.1 GB, free: 6.484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.792, allocations: 3.375 kB / 1.1 GB, free: 6.484 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/1.792, allocations: 0.9375 kB / 1.1 GB, free: 6.484 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001193/1.792, allocations: 0 / 1.1 GB, free: 6.484 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.01669/1.809, allocations: 6.115 MB / 1.106 GB, free: 19.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.809, allocations: 11.97 kB / 1.106 GB, free: 19.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004201/1.809, allocations: 340.4 kB / 1.107 GB, free: 19.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/1.81, allocations: 414.5 kB / 1.107 GB, free: 19.33 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/1.814, allocations: 1.635 MB / 1.109 GB, free: 18.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008441/1.815, allocations: 1.114 MB / 1.11 GB, free: 17.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/1.815, allocations: 250.5 kB / 1.11 GB, free: 17.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006279/1.822, allocations: 4.1 MB / 1.114 GB, free: 17.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/1.822, allocations: 7.25 kB / 1.114 GB, free: 17.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/1.822, allocations: 94.38 kB / 1.114 GB, free: 17.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/1.822, allocations: 193.4 kB / 1.114 GB, free: 17.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007413/1.829, allocations: 4.979 MB / 1.119 GB, free: 17.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/1.852, allocations: 9.559 MB / 1.129 GB, free: 16.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00581/1.858, allocations: 2.818 MB / 1.131 GB, free: 16.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003978/1.862, allocations: 2.064 MB / 1.133 GB, free: 16.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004791/1.867, allocations: 1.187 MB / 1.134 GB, free: 16.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/1.867, allocations: 70.69 kB / 1.135 GB, free: 16.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=318): time 9.999e-06/1.867, allocations: 1.062 kB / 1.135 GB, free: 16.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=318): time 0.02274/1.89, allocations: 8.159 MB / 1.142 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/1.89, allocations: 110.9 kB / 1.143 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.892, allocations: 1.426 MB / 1.144 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005652/1.893, allocations: 81.86 kB / 1.144 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/1.893, allocations: 0.9181 MB / 1.145 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.894, allocations: 1.122 MB / 1.146 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/1.896, allocations: 0.5074 MB / 1.147 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.896, allocations: 302.8 kB / 1.147 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/1.899, allocations: 1.678 MB / 1.148 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003334/1.902, allocations: 1.876 MB / 1.15 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006596/1.909, allocations: 3.655 MB / 1.154 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.909, allocations: 0 / 1.154 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01258/1.921, allocations: 5.149 MB / 1.159 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.921, allocations: 8 kB / 1.159 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/1.921, allocations: 17.89 kB / 1.159 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/1.926, allocations: 1.051 MB / 1.16 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/1.928, allocations: 0.5043 MB / 1.16 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/1.948, allocations: 15.76 MB / 1.176 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.951, allocations: 287.2 kB / 1.176 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000823/1.952, allocations: 194.5 kB / 1.176 GB, free: 12.54 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.001832/1.953, allocations: 491.6 kB / 1.177 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.955, allocations: 294.3 kB / 1.177 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.971, allocations: 7.333 MB / 1.184 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-05/1.971, allocations: 35.98 kB / 1.184 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.162e-05/1.971, allocations: 8 kB / 1.184 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.352e-05/1.971, allocations: 15.94 kB / 1.184 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.991, allocations: 8.524 MB / 1.193 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/1.991, allocations: 8 kB / 1.193 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.993, allocations: 0.5105 MB / 1.193 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004412/1.997, allocations: 1.062 MB / 1.194 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005803/1.998, allocations: 118.4 kB / 1.194 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/2.018, allocations: 15.79 MB / 1.21 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/2.018, allocations: 11.91 kB / 1.21 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/2.036, allocations: 7.81 MB / 1.217 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/2.038, allocations: 0.6727 MB / 1.218 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007938/2.039, allocations: 63.95 kB / 1.218 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/2.041, allocations: 135.3 kB / 1.218 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/2.042, allocations: 274.5 kB / 1.218 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005549/2.043, allocations: 186.2 kB / 1.219 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00192/2.045, allocations: 1.067 MB / 1.22 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5e-08/2.045, allocations: 0 / 1.22 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01114/2.056, allocations: 3.543 MB / 1.223 GB, free: 15.65 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.0351/2.091, allocations: 12.8 MB / 1.236 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01542/2.106, allocations: 5.994 MB / 1.241 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/2.106, allocations: 4 kB / 1.241 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/2.117, allocations: 4.011 MB / 1.245 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/2.122, allocations: 0.9101 MB / 1.246 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06032/2.183, allocations: 27.59 MB / 1.273 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/2.185, allocations: 1.269 MB / 1.274 GB, free: 11.03 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003781/2.188, allocations: 1.33 MB / 1.276 GB, free: 9.699 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/2.191, allocations: 1.245 MB / 1.277 GB, free: 8.457 MB / 0.92 GB Notification: Performance of SimCode: time 1.072e-06/2.191, allocations: 0 / 1.277 GB, free: 8.457 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/2.471, allocations: 151.7 MB / 1.425 GB, free: 1.945 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.01/23.48, allocations: 6.703 kB / 1.425 GB, free: 1.945 MB / 1.061 GB " [Timeout remaining time 636] (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: 27.678188216872513] Failed to read output from testmodel.py, exit status != 0: 23.70764369610697 24.012106432 22.217584624 Calling exit ...