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.001583/0.001583, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002162/0.002162, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.691/2.691, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 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.00195/0.00195, allocations: 65.33 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 169.9 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006629/0.3246, allocations: 4.432 MB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3258, allocations: 0.7516 MB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.3258, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.326, allocations: 35.77 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.3261, allocations: 27.72 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.3266, allocations: 179.4 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.3268, allocations: 179.4 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.3269, allocations: 17.31 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3271, allocations: 83.7 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3272, allocations: 83.59 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3273, allocations: 12 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.3276, allocations: 139.8 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.3276, allocations: 35.89 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.3277, allocations: 55.72 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.3281, allocations: 228.7 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3281, allocations: 7.984 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3281, allocations: 4 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.3281, allocations: 4 kB / 1.29 GB, free: 4.395 MB / 0.9825 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.0008774/0.329, allocations: 401.4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.329, allocations: 12.02 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.444e-05/0.329, allocations: 4.188 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.3291, allocations: 42.75 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.3291, allocations: 16.84 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3293, allocations: 124.7 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3293, allocations: 12.28 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.3293, allocations: 12.12 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.3296, allocations: 125.5 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3296, allocations: 0 / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3297, allocations: 0 / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3297, allocations: 4 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.3301, allocations: 143.9 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3311, allocations: 415.6 kB / 1.291 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3314, allocations: 110.5 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.3316, allocations: 68.75 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.3328, allocations: 472.2 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3328, allocations: 38.55 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3328, allocations: 0 / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006544/0.3335, allocations: 209.4 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3335, allocations: 51.41 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3337, allocations: 171.2 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3337, allocations: 29.7 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.3338, allocations: 112.4 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.3338, allocations: 43.64 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.3339, allocations: 53.64 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3341, allocations: 326.8 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3343, allocations: 75.88 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.3346, allocations: 108 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.335, allocations: 171.3 kB / 1.293 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.335, allocations: 0 / 1.293 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005788/0.3355, allocations: 243.3 kB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3356, allocations: 15.97 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3356, allocations: 0 / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3356, allocations: 7.984 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.3359, allocations: 59.89 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.3359, allocations: 4 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3361, allocations: 27.83 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3361, allocations: 12 kB / 1.294 GB, free: 0.5117 MB / 0.9825 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.0001139/0.3362, allocations: 125.7 kB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3363, allocations: 19.89 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.3368, allocations: 174.9 kB / 1.294 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3368, allocations: 4 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3368, allocations: 0 / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3368, allocations: 3.984 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.3371, allocations: 168.8 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3371, allocations: 0 / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3372, allocations: 39.86 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3372, allocations: 3.938 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3373, allocations: 4 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3373, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3373, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.3377, allocations: 255.4 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.3378, allocations: 19.88 kB / 1.295 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3378, allocations: 11.94 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3379, allocations: 11.98 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.338, allocations: 15.86 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.338, allocations: 8 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.599e-05/0.3381, allocations: 112 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3381, allocations: 0 / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003367/0.3384, allocations: 67.81 kB / 1.295 GB, free: 15.41 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.0009591/0.3394, allocations: 0.8378 MB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.3399, allocations: 171.7 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3399, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.34, allocations: 67.98 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3404, allocations: 26.17 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3432, allocations: 1.958 MB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.3433, allocations: 93.48 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.389e-05/0.3434, allocations: 17.08 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.3435, allocations: 31.44 kB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3435, allocations: 0 / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.3691, allocations: 4.605 MB / 1.302 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.33, allocations: 10.89 kB / 1.302 GB, free: 7.66 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.80413691792637] Failed to read output from testmodel.py, exit status != 0: 11.99519792792853 11.499148872 11.168075898 Calling exit ...