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.001192/0.001192, allocations: 97.92 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.001538/0.001538, allocations: 219.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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.001941/0.001941, allocations: 72.97 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3876, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006789/0.3944, allocations: 4.432 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3956, allocations: 0.7595 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.3957, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.3958, allocations: 23.78 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.3959, allocations: 35.7 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.3965, allocations: 179.3 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3967, allocations: 167.4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.3968, allocations: 21.56 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.397, allocations: 87.62 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3971, allocations: 79.73 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3971, allocations: 12 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.3974, allocations: 139.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.3975, allocations: 31.91 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.3976, allocations: 67.7 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.3979, allocations: 231.2 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3979, allocations: 3.938 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3979, allocations: 3.938 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3979, allocations: 0 / 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.0009175/0.3989, allocations: 409.5 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3989, allocations: 8.031 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.646e-05/0.3989, allocations: 4.188 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.399, allocations: 38.73 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.399, allocations: 16.84 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3991, allocations: 119 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3992, allocations: 8.375 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.3992, allocations: 16.12 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.3995, allocations: 123.6 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3995, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3996, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3996, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.4, allocations: 143.9 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.401, allocations: 415.6 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.4013, allocations: 110.5 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.4015, allocations: 64.81 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.4027, allocations: 484.2 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4027, allocations: 34.56 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.4027, allocations: 4 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007124/0.4034, allocations: 209.4 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4035, allocations: 55.34 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.4037, allocations: 172.7 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4037, allocations: 25.7 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.4038, allocations: 108.4 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4038, allocations: 43.59 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.4039, allocations: 53.69 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.404, allocations: 322.8 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.4043, allocations: 71.95 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.4045, allocations: 123.2 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.4049, allocations: 171 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4049, allocations: 0 / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005656/0.4055, allocations: 249.3 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4055, allocations: 7.938 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4055, allocations: 0 / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4055, allocations: 4 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.4058, allocations: 55.89 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.4058, allocations: 0 / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.406, allocations: 31.83 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.406, allocations: 12.09 kB / 1.336 GB, free: 7.355 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.0001151/0.4061, allocations: 130.2 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.4062, allocations: 15.89 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.4066, allocations: 179.2 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.4066, allocations: 0 / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4066, allocations: 7.938 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4066, allocations: 7.984 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4069, allocations: 168.7 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4069, allocations: 0 / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.407, allocations: 31.97 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.407, allocations: 7.938 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.407, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.407, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.407, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.4075, allocations: 255.4 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.4076, allocations: 35.69 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.4076, allocations: 7.938 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4077, allocations: 11.98 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4078, allocations: 11.98 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4078, allocations: 4 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.772e-05/0.4079, allocations: 116 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003377/0.4082, allocations: 63.8 kB / 1.337 GB, free: 6.246 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.0009359/0.4091, allocations: 0.8449 MB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.4096, allocations: 157.5 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4096, allocations: 0 / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.4098, allocations: 63.89 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4102, allocations: 28.72 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.413, allocations: 1.96 MB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.413, allocations: 93.61 kB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.4131, allocations: 17.58 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.4132, allocations: 39.42 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4132, allocations: 7.875 kB / 1.34 GB, free: 2.902 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4405, allocations: 4.585 MB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.64, allocations: 6.406 kB / 1.345 GB, free: 14.5 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.44110915705096] Failed to read output from testmodel.py, exit status != 0: 11.797813340905122 11.825633624 11.423324489 Calling exit ...