Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001505/0.001505, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001572/0.001572, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7678 GB, free: 9.406 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9219, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007685/0.9296, allocations: 4.683 MB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.9308, allocations: 0.8277 MB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.9309, allocations: 0 / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.9311, allocations: 30.23 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.9312, allocations: 36.03 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.9319, allocations: 167.7 kB / 1.285 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.9322, allocations: 175.9 kB / 1.285 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.9323, allocations: 12.08 kB / 1.285 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.9325, allocations: 88.34 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.9326, allocations: 79.05 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.9326, allocations: 13.47 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.933, allocations: 155.8 kB / 1.285 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.933, allocations: 28.38 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.9331, allocations: 71 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.9335, allocations: 248.8 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9335, allocations: 0 / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9335, allocations: 0 / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.9336, allocations: 1.062 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000924/0.9345, allocations: 487.4 kB / 1.286 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9345, allocations: 10.03 kB / 1.286 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.9345, allocations: 2.812 kB / 1.286 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.9346, allocations: 46.12 kB / 1.286 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.9346, allocations: 15.56 kB / 1.286 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.9348, allocations: 181.2 kB / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.9348, allocations: 12.09 kB / 1.286 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.9348, allocations: 17.33 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.9352, allocations: 119.4 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9352, allocations: 1.625 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.9352, allocations: 3.984 kB / 1.286 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.9352, allocations: 5.125 kB / 1.286 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.9356, allocations: 138.4 kB / 1.286 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009949/0.9366, allocations: 466.8 kB / 1.287 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.9369, allocations: 117.6 kB / 1.287 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.9371, allocations: 69.02 kB / 1.287 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.9385, allocations: 0.9609 MB / 1.288 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.9386, allocations: 31.53 kB / 1.288 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.9386, allocations: 0 / 1.288 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0006963/0.9393, allocations: 217.3 kB / 1.288 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.9393, allocations: 52.66 kB / 1.288 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.9395, allocations: 167.2 kB / 1.288 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.9395, allocations: 30.86 kB / 1.288 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.9396, allocations: 112.3 kB / 1.289 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.9396, allocations: 39.64 kB / 1.289 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.9397, allocations: 49.97 kB / 1.289 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9398, allocations: 329.7 kB / 1.289 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.94, allocations: 71.39 kB / 1.289 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.9403, allocations: 112.4 kB / 1.289 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.9407, allocations: 176.9 kB / 1.289 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.9407, allocations: 0 / 1.289 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006366/0.9414, allocations: 237.5 kB / 1.29 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9414, allocations: 8.875 kB / 1.29 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9414, allocations: 1.156 kB / 1.29 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9414, allocations: 2.656 kB / 1.29 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.9417, allocations: 67.33 kB / 1.29 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9417, allocations: 1.438 kB / 1.29 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.9418, allocations: 36.23 kB / 1.29 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.9419, allocations: 7.125 kB / 1.29 GB, free: 4.031 MB / 0.9981 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.942, allocations: 124.2 kB / 1.29 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.942, allocations: 13.83 kB / 1.29 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.9425, allocations: 187.7 kB / 1.29 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9425, allocations: 1.953 kB / 1.29 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9425, allocations: 0 / 1.29 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9425, allocations: 1.797 kB / 1.29 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.9428, allocations: 219.2 kB / 1.29 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9428, allocations: 0 / 1.29 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.9429, allocations: 31.73 kB / 1.29 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9429, allocations: 9.188 kB / 1.29 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.9429, allocations: 2.281 kB / 1.29 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9429, allocations: 0 / 1.29 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9429, allocations: 1.094 kB / 1.29 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.9434, allocations: 258.5 kB / 1.29 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.9435, allocations: 97.42 kB / 1.291 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.9435, allocations: 5.969 kB / 1.291 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.9437, allocations: 16.23 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.9437, allocations: 7.203 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.9437, allocations: 3.422 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.56e-05/0.9438, allocations: 115.9 kB / 1.291 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9438, allocations: 3.938 kB / 1.291 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003485/0.9442, allocations: 67.16 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009922/0.9451, allocations: 0.8481 MB / 1.292 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.9457, allocations: 161.5 kB / 1.292 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.9457, allocations: 4.188 kB / 1.292 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.9459, allocations: 60.38 kB / 1.292 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.9462, allocations: 28.11 kB / 1.292 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.9489, allocations: 1.957 MB / 1.294 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.9493, allocations: 0.7117 MB / 1.294 GB, free: 212 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.603e-05/0.9493, allocations: 23.06 kB / 1.294 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.9494, allocations: 35.27 kB / 1.294 GB, free: 176 kB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.9494, allocations: 1.156 kB / 1.294 GB, free: 176 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.971, allocations: 4.352 MB / 1.299 GB, free: 15.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/9.048, allocations: 12.08 kB / 1.299 GB, free: 15.55 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.28458340500947] Failed to read output from testmodel.py, exit status != 0: 9.17131981998682 9.186119907 8.249162416 Calling exit ...