Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.628, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001305/0.001305, allocations: 190.7 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009782/0.0009782, allocations: 92.2 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007015/0.0007018, allocations: 18.42 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2136, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005624/0.2193, allocations: 4.089 MB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2205, allocations: 0.7607 MB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2207, allocations: 4 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2209, allocations: 19.89 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.2209, allocations: 39.7 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.2215, allocations: 123.6 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.2217, allocations: 155.4 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2218, allocations: 17.11 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.222, allocations: 67.77 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2221, allocations: 75.72 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2222, allocations: 4 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.2226, allocations: 119.8 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.2226, allocations: 23.91 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.2227, allocations: 49.58 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.223, allocations: 163.8 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.223, allocations: 4 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.637e-06/0.223, allocations: 0 / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.223, allocations: 3.938 kB / 0.9839 GB, free: 22.61 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.0009791/0.224, allocations: 473.4 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2241, allocations: 8.031 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.2241, allocations: 19.77 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2243, allocations: 171 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2243, allocations: 8 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.2244, allocations: 12 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.2249, allocations: 133.5 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2249, allocations: 0 / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2249, allocations: 11.92 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2249, allocations: 0 / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.2256, allocations: 167.8 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2269, allocations: 460.5 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.2274, allocations: 138.5 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.2277, allocations: 80.81 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.2295, allocations: 0.976 MB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2296, allocations: 30.56 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 3.045e-06/0.2296, allocations: 0 / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.001075/0.2307, allocations: 229.5 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2307, allocations: 63.34 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2309, allocations: 168.1 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.2309, allocations: 29.7 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.231, allocations: 108.4 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.2311, allocations: 35.45 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.2311, allocations: 11.94 kB / 0.9871 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.2312, allocations: 326.8 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.2315, allocations: 83.95 kB / 0.9875 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.232, allocations: 124.7 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.2324, allocations: 83.97 kB / 0.9877 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2324, allocations: 4 kB / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009352/0.2333, allocations: 269 kB / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2334, allocations: 8 kB / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2334, allocations: 0 / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2334, allocations: 4 kB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.2339, allocations: 59.89 kB / 0.9881 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2339, allocations: 0 / 0.9881 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.2342, allocations: 43.86 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.2342, allocations: 8 kB / 0.9881 GB, free: 17.97 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 0.0001139/0.2344, allocations: 133.7 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.2344, allocations: 15.81 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.2352, allocations: 198.9 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2352, allocations: 0 / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2352, allocations: 4 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2352, allocations: 3.984 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.2355, allocations: 225.4 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2355, allocations: 4 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.2358, allocations: 27.98 kB / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2358, allocations: 4 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2358, allocations: 7.984 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2359, allocations: 0 / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2359, allocations: 0 / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/0.2366, allocations: 283.7 kB / 0.989 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2367, allocations: 100.9 kB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2367, allocations: 4 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.237, allocations: 19.98 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.237, allocations: 7.984 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.237, allocations: 3.984 kB / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.546e-05/0.2371, allocations: 120.9 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2372, allocations: 0 / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004526/0.2376, allocations: 64.3 kB / 0.9893 GB, free: 16.67 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.0003228/0.238, allocations: 151.2 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.2388, allocations: 191.9 kB / 0.9896 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2388, allocations: 0 / 0.9896 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.2391, allocations: 83.83 kB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.2396, allocations: 31.91 kB / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.2402, allocations: 357.6 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.2404, allocations: 0.7009 MB / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.2405, allocations: 18.33 kB / 0.9908 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.2406, allocations: 15.44 kB / 0.9908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.2407, allocations: 3.938 kB / 0.9908 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.01093/0.2516, allocations: 2.477 MB / 0.9932 GB, free: 12.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)