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.714/1.714, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001119/0.00112, allocations: 185 kB / 371.8 MB, free: 10.29 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.613/1.613, 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.0009564/0.0009564, allocations: 94.66 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004353, allocations: 17.77 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004724/0.2322, allocations: 3.895 MB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.2331, allocations: 0.7102 MB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.2332, allocations: 0 / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2334, allocations: 27.88 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.2335, allocations: 35.86 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.234, allocations: 131.7 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2341, allocations: 115.8 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2343, allocations: 9.125 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.2345, allocations: 67.81 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2347, allocations: 71.72 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2347, allocations: 8 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.235, allocations: 123.8 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2351, allocations: 27.91 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.2351, allocations: 45.64 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.2353, allocations: 163.9 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2354, allocations: 0 / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2354, allocations: 0 / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2354, allocations: 0 / 0.9848 GB, free: 22.17 MB / 0.6198 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.0006916/0.2361, allocations: 466.8 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2361, allocations: 12.03 kB / 0.9852 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.2362, allocations: 38.55 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.2362, allocations: 19.77 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.2363, allocations: 178.9 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2363, allocations: 8 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2363, allocations: 16 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2366, allocations: 125.6 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2367, allocations: 0 / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2367, allocations: 4 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2367, allocations: 0 / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.2371, allocations: 165.2 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009064/0.238, allocations: 484.3 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.2383, allocations: 130.5 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.2393, allocations: 0.9606 MB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2394, allocations: 38.5 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2394, allocations: 0 / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006124/0.24, allocations: 237.4 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.24, allocations: 59.34 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2401, allocations: 165.1 kB / 0.9878 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2402, allocations: 33.7 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.2403, allocations: 104.4 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.2403, allocations: 35.45 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.2403, allocations: 8 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.2404, allocations: 318.8 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.2406, allocations: 91.94 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2408, allocations: 116.2 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.2411, allocations: 94.59 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2411, allocations: 7.891 kB / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004959/0.2416, allocations: 265.1 kB / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2416, allocations: 4.094 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2416, allocations: 8 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2416, allocations: 3.984 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.2419, allocations: 59.91 kB / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2419, allocations: 0 / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.2421, allocations: 35.77 kB / 0.9889 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.2421, allocations: 23.97 kB / 0.9889 GB, free: 17.55 MB / 0.6198 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 7.366e-05/0.2422, allocations: 121.8 kB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.2422, allocations: 15.77 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.2426, allocations: 195 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2427, allocations: 0 / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2427, allocations: 0 / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2427, allocations: 0 / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2429, allocations: 221.4 kB / 0.9894 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2429, allocations: 7.938 kB / 0.9895 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.243, allocations: 39.92 kB / 0.9895 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2431, allocations: 0 / 0.9895 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2431, allocations: 11.94 kB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2431, allocations: 0 / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2431, allocations: 0 / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.2437, allocations: 271.3 kB / 0.9898 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.2437, allocations: 104.9 kB / 0.9899 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.2438, allocations: 7.953 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2439, allocations: 15.98 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.244, allocations: 7.984 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.244, allocations: 8 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.244, allocations: 117.6 kB / 0.99 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.244, allocations: 0 / 0.99 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003167/0.2444, allocations: 68.31 kB / 0.9901 GB, free: 16.27 MB / 0.6198 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.0007195/0.2451, allocations: 0.8613 MB / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.2456, allocations: 194.5 kB / 0.9911 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2457, allocations: 0 / 0.9911 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2459, allocations: 83.94 kB / 0.9912 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2462, allocations: 24.69 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.2469, allocations: 1.069 MB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2471, allocations: 0.7122 MB / 0.9929 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.2473, allocations: 21.77 kB / 0.993 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.2474, allocations: 35.42 kB / 0.993 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2474, allocations: 0 / 0.993 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.2628, allocations: 3.96 MB / 0.9969 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.263, allocations: 217.5 kB / 0.9971 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.066, allocations: 0 / 0.9971 GB, free: 9.152 MB / 0.6198 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)