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.001674/0.001674, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002405/0.002405, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.7955/0.7955, allocations: 100.3 MB / 413.6 MB, free: 3.41 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="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.002422/0.002422, allocations: 78.94 kB / 0.564 GB, free: 35.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1341, allocations: 74.47 MB / 0.6367 GB, free: 7.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.726/0.8601, allocations: 336.5 MB / 0.9653 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.08982/0.9499, allocations: 67.02 MB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.9528, allocations: 130.8 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005299/0.9581, allocations: 1.868 MB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.03124/0.9893, allocations: 10.84 MB / 1.043 GB, free: 10.47 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0238/1.013, allocations: 8.682 MB / 1.052 GB, free: 1.762 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.4853/1.498, allocations: 4.384 MB / 1.056 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/1.5, allocations: 0.4991 MB / 1.057 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006932/1.507, allocations: 2.851 MB / 1.059 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004179/1.511, allocations: 1.904 MB / 1.061 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008341/1.512, allocations: 266.6 kB / 1.061 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04231/1.554, allocations: 23.68 MB / 1.085 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002122/1.556, allocations: 0.8995 MB / 1.085 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002797/1.559, allocations: 1.302 MB / 1.087 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03697/1.596, allocations: 14.34 MB / 1.101 GB, free: 6.695 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.596, allocations: 0 / 1.101 GB, free: 6.695 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/1.596, allocations: 0.9375 kB / 1.101 GB, free: 6.695 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.969e-05/1.596, allocations: 0 / 1.101 GB, free: 6.695 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.01654/1.612, allocations: 6.141 MB / 1.107 GB, free: 19.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.612, allocations: 10.12 kB / 1.107 GB, free: 19.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.578e-05/1.613, allocations: 60.58 kB / 1.107 GB, free: 19.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004088/1.613, allocations: 337.8 kB / 1.107 GB, free: 19.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/1.614, allocations: 418.2 kB / 1.107 GB, free: 19.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/1.618, allocations: 1.632 MB / 1.109 GB, free: 19.06 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008126/1.619, allocations: 1.041 MB / 1.11 GB, free: 18.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/1.619, allocations: 246.1 kB / 1.11 GB, free: 18.08 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/1.627, allocations: 4.168 MB / 1.114 GB, free: 17.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/1.628, allocations: 9.938 kB / 1.114 GB, free: 17.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/1.628, allocations: 93.22 kB / 1.115 GB, free: 17.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/1.628, allocations: 193.7 kB / 1.115 GB, free: 17.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006908/1.635, allocations: 4.888 MB / 1.119 GB, free: 17.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/1.652, allocations: 10 MB / 1.129 GB, free: 16.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/1.657, allocations: 2.828 MB / 1.132 GB, free: 16.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/1.66, allocations: 2.115 MB / 1.134 GB, free: 16.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004631/1.665, allocations: 1.186 MB / 1.135 GB, free: 16.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.091e-05/1.665, allocations: 66.31 kB / 1.135 GB, free: 16.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=318): time 9.187e-06/1.665, allocations: 0.7812 kB / 1.135 GB, free: 16.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=318): time 0.0209/1.686, allocations: 8.057 MB / 1.143 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/1.686, allocations: 114.3 kB / 1.143 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/1.688, allocations: 1.428 MB / 1.145 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000695/1.689, allocations: 79.91 kB / 1.145 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/1.689, allocations: 0.9246 MB / 1.146 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.69, allocations: 1.123 MB / 1.147 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008977/1.691, allocations: 0.5043 MB / 1.147 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.691, allocations: 306 kB / 1.148 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/1.694, allocations: 1.733 MB / 1.149 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/1.697, allocations: 1.933 MB / 1.151 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00576/1.703, allocations: 3.746 MB / 1.155 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.703, allocations: 3.938 kB / 1.155 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01156/1.715, allocations: 5.402 MB / 1.16 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/1.715, allocations: 11.84 kB / 1.16 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.334e-05/1.715, allocations: 12.91 kB / 1.16 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004588/1.719, allocations: 1.088 MB / 1.161 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/1.723, allocations: 0.5848 MB / 1.162 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.742, allocations: 15.91 MB / 1.177 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.745, allocations: 281.4 kB / 1.178 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/1.745, allocations: 195.6 kB / 1.178 GB, free: 13.16 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%), (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.001454/1.747, allocations: 491 kB / 1.178 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.748, allocations: 294.3 kB / 1.178 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/1.764, allocations: 7.592 MB / 1.186 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.961e-05/1.764, allocations: 32 kB / 1.186 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/1.764, allocations: 8 kB / 1.186 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-05/1.764, allocations: 15.94 kB / 1.186 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/1.783, allocations: 8.93 MB / 1.195 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.398e-05/1.783, allocations: 12 kB / 1.195 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/1.786, allocations: 0.5993 MB / 1.195 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004506/1.79, allocations: 1.101 MB / 1.196 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006564/1.791, allocations: 124.1 kB / 1.196 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/1.811, allocations: 15.93 MB / 1.212 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.811, allocations: 0 / 1.212 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/1.829, allocations: 7.992 MB / 1.22 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.831, allocations: 0.6572 MB / 1.22 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/1.832, allocations: 70.39 kB / 1.22 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.834, allocations: 143.9 kB / 1.221 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005759/1.834, allocations: 269.2 kB / 1.221 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004446/1.835, allocations: 194.1 kB / 1.221 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001616/1.836, allocations: 1.071 MB / 1.222 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.836, allocations: 0 / 1.222 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01106/1.847, allocations: 3.536 MB / 1.226 GB, free: 14.44 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%), (3,1,88.9%), (1,7,100.0%), (3,1,88.9%), (1,5,100.0%), (1,3,100.0%), (3,1,88.9%)} * 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.03149/1.879, allocations: 12.97 MB / 1.238 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.895, allocations: 6.188 MB / 1.244 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.895, allocations: 4 kB / 1.244 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/1.907, allocations: 4.209 MB / 1.248 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/1.911, allocations: 0.9115 MB / 1.249 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06/1.971, allocations: 27.94 MB / 1.277 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.973, allocations: 1.272 MB / 1.278 GB, free: 8.906 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003515/1.976, allocations: 1.34 MB / 1.279 GB, free: 7.566 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.978, allocations: 1.241 MB / 1.28 GB, free: 6.324 MB / 0.92 GB Notification: Performance of SimCode: time 1.072e-06/1.978, allocations: 8 kB / 1.28 GB, free: 6.316 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5639/2.542, allocations: 152.1 MB / 1.429 GB, free: 0.5378 GB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/25.45, allocations: 5.516 kB / 1.429 GB, free: 0.5378 GB / 1.061 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 & /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: 29.492666055099107] Failed to read output from testmodel.py, exit status != 0: 25.716280956054106 25.731575351 24.132598541 Calling exit ...