Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 102.1 kB / 16.35 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 194.2 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 72.23 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2243, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.4237/0.6481, allocations: 4.573 MB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.6492, allocations: 0.8124 MB / 0.79 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.6493, allocations: 0 / 0.79 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.6496, allocations: 29.45 kB / 0.7901 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.6496, allocations: 39.55 kB / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.6502, allocations: 175.8 kB / 0.7903 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.6504, allocations: 173 kB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.6505, allocations: 19.19 kB / 0.7905 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.6507, allocations: 90.06 kB / 0.7905 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.6508, allocations: 72.81 kB / 0.7906 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.6508, allocations: 13.84 kB / 0.7906 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.6511, allocations: 154.4 kB / 0.7908 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.6512, allocations: 34.69 kB / 0.7908 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.6513, allocations: 66.61 kB / 0.7909 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.6516, allocations: 242.3 kB / 0.7911 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6516, allocations: 0 / 0.7911 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6516, allocations: 0 / 0.7911 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6516, allocations: 0 / 0.7911 GB, free: 46.25 MB / 0.6544 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.0008599/0.6525, allocations: 479.7 kB / 0.7916 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.6526, allocations: 11.16 kB / 0.7916 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.6526, allocations: 17.64 kB / 0.7916 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.6527, allocations: 189.5 kB / 0.7918 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.6528, allocations: 9.219 kB / 0.7918 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.6528, allocations: 14.88 kB / 0.7918 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.6531, allocations: 118.4 kB / 0.7919 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6531, allocations: 0.5 kB / 0.7919 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6532, allocations: 4.844 kB / 0.7919 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.6532, allocations: 0 / 0.7919 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.6535, allocations: 144.9 kB / 0.792 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.6544, allocations: 463.5 kB / 0.7925 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.6547, allocations: 128.5 kB / 0.7926 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.6549, allocations: 70.56 kB / 0.7927 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.656, allocations: 0.9679 MB / 0.7936 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.656, allocations: 33.38 kB / 0.7936 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.656, allocations: 3.375 kB / 0.7937 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006138/0.6567, allocations: 209.7 kB / 0.7939 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.6567, allocations: 54.91 kB / 0.7939 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.6568, allocations: 170.1 kB / 0.7941 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.6569, allocations: 29.33 kB / 0.7941 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.6569, allocations: 108.6 kB / 0.7942 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.6569, allocations: 43.38 kB / 0.7942 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.657, allocations: 51.09 kB / 0.7943 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.6571, allocations: 322 kB / 0.7946 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.6573, allocations: 76.61 kB / 0.7947 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.6575, allocations: 113.2 kB / 0.7948 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.6578, allocations: 167.2 kB / 0.7949 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6578, allocations: 3.312 kB / 0.7949 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004903/0.6583, allocations: 249.3 kB / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6584, allocations: 12.53 kB / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6584, allocations: 0 / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6584, allocations: 0 / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.6587, allocations: 56.03 kB / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6587, allocations: 3.5 kB / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.6588, allocations: 33.28 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.6589, allocations: 10.25 kB / 0.7953 GB, free: 43.57 MB / 0.6544 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 8.018e-05/0.659, allocations: 128.2 kB / 0.7954 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.659, allocations: 15.22 kB / 0.7954 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.6594, allocations: 183.7 kB / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6594, allocations: 2.625 kB / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6594, allocations: 0 / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6595, allocations: 0 / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.6596, allocations: 218.7 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6596, allocations: 1.594 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.6598, allocations: 28.92 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6598, allocations: 3.938 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6598, allocations: 6.609 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6598, allocations: 0 / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6598, allocations: 4 kB / 0.7959 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.6602, allocations: 256.4 kB / 0.7961 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.6603, allocations: 100.5 kB / 0.7962 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.6603, allocations: 4.922 kB / 0.7962 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.6605, allocations: 23.38 kB / 0.7962 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.6605, allocations: 8.656 kB / 0.7962 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.6605, allocations: 7.094 kB / 0.7962 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.6606, allocations: 117.5 kB / 0.7963 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6606, allocations: 0 / 0.7963 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003268/0.6609, allocations: 55.42 kB / 0.7964 GB, free: 42.88 MB / 0.6544 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.0002649/0.6612, allocations: 156.6 kB / 0.7965 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.6617, allocations: 172.7 kB / 0.7967 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6617, allocations: 4.75 kB / 0.7967 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.6619, allocations: 72.19 kB / 0.7968 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.6622, allocations: 23.16 kB / 0.7968 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.6626, allocations: 248.8 kB / 0.797 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.6628, allocations: 0.7073 MB / 0.7977 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.299e-05/0.6629, allocations: 19.14 kB / 0.7978 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.6629, allocations: 17.53 kB / 0.7978 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6629, allocations: 0 / 0.7978 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.006039/0.669, allocations: 2.724 MB / 0.8004 GB, free: 41.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)