Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 177.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 93.11 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 13.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2426, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.244, allocations: 362 MB / 1.333 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/1.244, allocations: 92.3 kB / 1.333 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03496/1.279, allocations: 13.93 MB / 1.347 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.896e-06/1.279, allocations: 0 / 1.347 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.279, allocations: 4 kB / 1.347 GB, free: 6.828 MB / 0.8698 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.001201/1.281, allocations: 478.3 kB / 1.347 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/1.281, allocations: 8.031 kB / 1.347 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/1.281, allocations: 40.3 kB / 1.347 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/1.281, allocations: 15.81 kB / 1.347 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/1.281, allocations: 177.8 kB / 1.347 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.281, allocations: 7.375 kB / 1.347 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/1.281, allocations: 11.44 kB / 1.347 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/1.282, allocations: 129.2 kB / 1.348 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.282, allocations: 4 kB / 1.348 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.282, allocations: 3.5 kB / 1.348 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.282, allocations: 0 / 1.348 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/1.282, allocations: 164 kB / 1.348 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.283, allocations: 475.8 kB / 1.348 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/1.283, allocations: 137 kB / 1.348 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/1.285, allocations: 0.9628 MB / 1.349 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.285, allocations: 37.92 kB / 1.349 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 3.897e-06/1.285, allocations: 3.984 kB / 1.349 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0006979/1.286, allocations: 237.5 kB / 1.349 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.286, allocations: 55.41 kB / 1.35 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/1.286, allocations: 149.3 kB / 1.35 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.286, allocations: 28.83 kB / 1.35 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/1.286, allocations: 110.9 kB / 1.35 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/1.286, allocations: 47.17 kB / 1.35 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.286, allocations: 3.688 kB / 1.35 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.286, allocations: 321.8 kB / 1.35 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/1.286, allocations: 89.95 kB / 1.35 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/1.287, allocations: 121 kB / 1.35 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/1.287, allocations: 94.34 kB / 1.35 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.287, allocations: 0 / 1.35 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005805/1.288, allocations: 264.6 kB / 1.351 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.288, allocations: 11.89 kB / 1.351 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.288, allocations: 4 kB / 1.351 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.288, allocations: 96 / 1.351 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/1.288, allocations: 59.95 kB / 1.351 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.288, allocations: 4 kB / 1.351 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/1.288, allocations: 43.3 kB / 1.351 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/1.288, allocations: 11.44 kB / 1.351 GB, free: 2.656 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.288, allocations: 124.3 kB / 1.351 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/1.288, allocations: 11.89 kB / 1.351 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/1.289, allocations: 202.2 kB / 1.351 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.289, allocations: 4 kB / 1.351 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.289, allocations: 0 / 1.351 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.289, allocations: 3.984 kB / 1.351 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/1.289, allocations: 215.1 kB / 1.351 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.289, allocations: 0 / 1.351 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/1.289, allocations: 43.34 kB / 1.351 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.289, allocations: 0 / 1.351 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.289, allocations: 0 / 1.351 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.289, allocations: 3.953 kB / 1.351 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.289, allocations: 7.938 kB / 1.351 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.29, allocations: 278.3 kB / 1.352 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/1.29, allocations: 85.02 kB / 1.352 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/1.29, allocations: 4 kB / 1.352 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/1.29, allocations: 27.28 kB / 1.352 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/1.29, allocations: 15.88 kB / 1.352 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/1.29, allocations: 0 / 1.352 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.572e-05/1.29, allocations: 113.4 kB / 1.352 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.29, allocations: 0 / 1.352 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000409/1.291, allocations: 65 kB / 1.352 GB, free: 1.496 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/1.292, allocations: 0.8888 MB / 1.353 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005235/1.292, allocations: 188.9 kB / 1.353 GB, free: 476 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.292, allocations: 0 / 1.353 GB, free: 476 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/1.293, allocations: 78.27 kB / 1.353 GB, free: 408 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/1.293, allocations: 30.36 kB / 1.353 GB, free: 384 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/1.294, allocations: 1.046 MB / 1.354 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.295, allocations: 0.7087 MB / 1.355 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001287/1.295, allocations: 17.02 kB / 1.355 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/1.295, allocations: 36.3 kB / 1.355 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/1.295, allocations: 4 kB / 1.355 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/1.313, allocations: 4.237 MB / 1.359 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.313, allocations: 206.8 kB / 1.359 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/3.233, allocations: 0 / 1.359 GB, free: 10.25 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)