Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001322/0.001322, allocations: 113.5 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.001636/0.001636, allocations: 216.1 kB / 23.04 MB, free: 5.078 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.339/1.339, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.888/2.888, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_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.001921/0.001921, allocations: 64.25 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2758, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006088/0.2818, allocations: 4.726 MB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2829, allocations: 0.8295 MB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.283, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2831, allocations: 31.77 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.2832, allocations: 35.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.2837, allocations: 171.4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.2839, allocations: 179.4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.284, allocations: 13.56 kB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.2841, allocations: 91.62 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2843, allocations: 75.73 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2843, allocations: 12 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.2846, allocations: 155.8 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.2846, allocations: 31.91 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.2847, allocations: 71.64 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.285, allocations: 251.1 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.285, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.285, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.285, allocations: 3.984 kB / 1.333 GB, free: 11.23 MB / 1.029 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.0007806/0.2858, allocations: 397.5 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2859, allocations: 20.02 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.466e-05/0.2859, allocations: 192 / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.2859, allocations: 38.75 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.2859, allocations: 12.84 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2861, allocations: 124.2 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2861, allocations: 8.375 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2861, allocations: 20.06 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2864, allocations: 127.5 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2864, allocations: 0 / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2864, allocations: 0 / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2864, allocations: 4 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.2868, allocations: 143.9 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.2878, allocations: 435.5 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.2881, allocations: 118.4 kB / 1.335 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2882, allocations: 68.81 kB / 1.335 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.2894, allocations: 0.4885 MB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2894, allocations: 34.56 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.2894, allocations: 0 / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006574/0.29, allocations: 221.3 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2901, allocations: 51.41 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2902, allocations: 163.3 kB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2903, allocations: 29.7 kB / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.2903, allocations: 116.4 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.2904, allocations: 43.64 kB / 1.336 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.2904, allocations: 49.7 kB / 1.336 GB, free: 8.367 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2906, allocations: 318.8 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.2908, allocations: 79.94 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2911, allocations: 109.5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.2915, allocations: 173.3 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2915, allocations: 8 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005645/0.292, allocations: 247.7 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.292, allocations: 7.938 kB / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2921, allocations: 0 / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2921, allocations: 4 kB / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2923, allocations: 59.98 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2923, allocations: 4 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2925, allocations: 27.83 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.2925, allocations: 12 kB / 1.337 GB, free: 7.305 MB / 1.029 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.0001032/0.2926, allocations: 130.2 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2927, allocations: 15.89 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.2931, allocations: 178.8 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2931, allocations: 7.984 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2931, allocations: 0 / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2932, allocations: 0 / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.2934, allocations: 180.7 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2934, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2935, allocations: 31.97 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2935, allocations: 3.938 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2935, allocations: 8 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2935, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2935, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.294, allocations: 259.2 kB / 1.338 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.294, allocations: 23.83 kB / 1.338 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2941, allocations: 11.94 kB / 1.338 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2942, allocations: 15.97 kB / 1.338 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2942, allocations: 15.97 kB / 1.338 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2942, allocations: 0 / 1.338 GB, free: 6.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.2943, allocations: 116 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2943, allocations: 0 / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003205/0.2946, allocations: 59.88 kB / 1.338 GB, free: 6.191 MB / 1.029 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.0009371/0.2956, allocations: 0.8532 MB / 1.339 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.2961, allocations: 155.8 kB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2961, allocations: 4 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.2963, allocations: 68.08 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2966, allocations: 20.55 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.2992, allocations: 1.96 MB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2995, allocations: 0.7045 MB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.286e-05/0.2996, allocations: 20.58 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.2997, allocations: 35.42 kB / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.2997, allocations: 0 / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.325, allocations: 4.482 MB / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.88, allocations: 14.27 kB / 1.346 GB, free: 13.91 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.841465859033633] Failed to read output from testmodel.py, exit status != 0: 11.031910901947413 11.049003002 10.760611958 Calling exit ...