Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001391/0.001391, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001576/0.001576, allocations: 220 kB / 23.05 MB, free: 5.074 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.29/1.29, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.8/2.8, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_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.001752/0.001752, allocations: 68.42 kB / 1.171 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2722, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005763/0.278, allocations: 4.706 MB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.279, allocations: 0.8295 MB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.2791, allocations: 0 / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2792, allocations: 35.77 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.2793, allocations: 31.7 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.2797, allocations: 171.4 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.2799, allocations: 179.4 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.18e-05/0.28, allocations: 17.34 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2801, allocations: 87.69 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2802, allocations: 79.72 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2802, allocations: 16 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.2805, allocations: 151.8 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.2806, allocations: 35.89 kB / 1.352 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.2806, allocations: 67.66 kB / 1.352 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.281, allocations: 247 kB / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.281, allocations: 0 / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.11e-07/0.281, allocations: 0 / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.281, allocations: 0 / 1.352 GB, free: 9.785 MB / 1.045 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.0007716/0.2817, allocations: 413.4 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2818, allocations: 8.031 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.603e-05/0.2818, allocations: 4.188 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2818, allocations: 34.75 kB / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.2819, allocations: 20.78 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.282, allocations: 133.4 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.282, allocations: 12 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.282, allocations: 12 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.2823, allocations: 119.4 kB / 1.353 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2823, allocations: 0 / 1.353 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2823, allocations: 4 kB / 1.353 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.2823, allocations: 0 / 1.353 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.2827, allocations: 147.9 kB / 1.353 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.2836, allocations: 435.5 kB / 1.353 GB, free: 8.363 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.2839, allocations: 126.5 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2841, allocations: 65.06 kB / 1.353 GB, free: 8.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.2852, allocations: 0.496 MB / 1.354 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2852, allocations: 34.56 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.2852, allocations: 0 / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0006422/0.2858, allocations: 213.3 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2859, allocations: 55.41 kB / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.286, allocations: 159.3 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.286, allocations: 25.7 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.2861, allocations: 116.4 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2861, allocations: 39.69 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.2862, allocations: 45.7 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2863, allocations: 322.8 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.2866, allocations: 79.94 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.2868, allocations: 112.1 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.2872, allocations: 175.3 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2872, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005464/0.2877, allocations: 244 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2878, allocations: 12 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2878, allocations: 3.984 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2878, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.288, allocations: 55.91 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.288, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2882, allocations: 31.83 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.2882, allocations: 11.98 kB / 1.355 GB, free: 5.852 MB / 1.045 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 9.64e-05/0.2883, allocations: 133.7 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.2883, allocations: 15.84 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.2888, allocations: 182.8 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2888, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2888, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2888, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.289, allocations: 188.6 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.289, allocations: 4 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2892, allocations: 31.97 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2892, allocations: 0 / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2892, allocations: 0 / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2892, allocations: 4 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2892, allocations: 0 / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.2896, allocations: 263.7 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.2897, allocations: 27.81 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.2897, allocations: 11.98 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2898, allocations: 7.984 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.2899, allocations: 11.98 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2899, allocations: 8 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.2899, allocations: 124.9 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.2899, allocations: 0 / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002987/0.2902, allocations: 59.86 kB / 1.356 GB, free: 4.727 MB / 1.045 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.0008598/0.2911, allocations: 0.841 MB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.2916, allocations: 167.8 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.2916, allocations: 0 / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.2917, allocations: 63.89 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.2921, allocations: 17.02 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2945, allocations: 1.957 MB / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2948, allocations: 0.7122 MB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.2949, allocations: 19.45 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.295, allocations: 35.42 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.295, allocations: 4 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3181, allocations: 4.471 MB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.44, allocations: 4.609 kB / 1.365 GB, free: 12.46 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.213804201979656] Failed to read output from testmodel.py, exit status != 0: 10.600010812981054 10.621429385 10.336631008 Calling exit ...