Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2193/0.2215, allocations: 80.84 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006539/0.2281, allocations: 4.59 MB / 0.5942 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2294, allocations: 0.8183 MB / 0.595 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.2295, allocations: 0 / 0.595 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.2299, allocations: 23.83 kB / 0.595 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.23, allocations: 31.77 kB / 0.595 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.2305, allocations: 143.5 kB / 0.5952 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.2306, allocations: 167.4 kB / 0.5953 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2308, allocations: 21.33 kB / 0.5953 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.231, allocations: 71.75 kB / 0.5954 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2311, allocations: 83.66 kB / 0.5955 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2311, allocations: 4 kB / 0.5955 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.2315, allocations: 139.8 kB / 0.5956 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.2315, allocations: 23.91 kB / 0.5957 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.118e-05/0.2316, allocations: 75.64 kB / 0.5957 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.232, allocations: 231.3 kB / 0.5959 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.232, allocations: 0 / 0.5959 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.232, allocations: 0 / 0.5959 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.232, allocations: 0 / 0.5959 GB, free: 0.6836 MB / 446.1 MB 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.0009808/0.233, allocations: 490.8 kB / 0.5964 GB, free: 160 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.233, allocations: 8.031 kB / 0.5964 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.2331, allocations: 16.75 kB / 0.5964 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2333, allocations: 180 kB / 0.5966 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2333, allocations: 12 kB / 0.5966 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.2333, allocations: 8 kB / 0.5966 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.2337, allocations: 125.5 kB / 0.5967 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2337, allocations: 0 / 0.5967 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.2338, allocations: 4 kB / 0.5968 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2338, allocations: 4 kB / 0.5968 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.2342, allocations: 139.9 kB / 0.5969 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2353, allocations: 460.4 kB / 0.5973 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.2356, allocations: 130.4 kB / 0.5975 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2358, allocations: 72.81 kB / 0.5975 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/0.2372, allocations: 0.9645 MB / 0.5985 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2373, allocations: 30.56 kB / 0.5985 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2373, allocations: 0 / 0.5985 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006895/0.238, allocations: 209.4 kB / 0.5987 GB, free: 13.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.2381, allocations: 59.34 kB / 0.5987 GB, free: 13.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.2383, allocations: 168.8 kB / 0.5989 GB, free: 13.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2383, allocations: 25.7 kB / 0.5989 GB, free: 13.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2384, allocations: 116.4 kB / 0.599 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.2384, allocations: 43.39 kB / 0.5991 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.2385, allocations: 53.62 kB / 0.5991 GB, free: 13.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2387, allocations: 322.8 kB / 0.5994 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2389, allocations: 75.89 kB / 0.5995 GB, free: 12.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.2392, allocations: 117.3 kB / 0.5996 GB, free: 12.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.2396, allocations: 175.9 kB / 0.5998 GB, free: 12.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2396, allocations: 0 / 0.5998 GB, free: 12.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005629/0.2402, allocations: 253.1 kB / 0.6 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2402, allocations: 4 kB / 0.6 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2402, allocations: 0 / 0.6 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2402, allocations: 4 kB / 0.6 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.2405, allocations: 51.91 kB / 0.6001 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.2405, allocations: 4.094 kB / 0.6001 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2407, allocations: 35.72 kB / 0.6001 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.2408, allocations: 16 kB / 0.6001 GB, free: 12 MB / 462.1 MB 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.0001126/0.2409, allocations: 121.8 kB / 0.6003 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2409, allocations: 11.84 kB / 0.6003 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.2414, allocations: 177.8 kB / 0.6004 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2414, allocations: 0 / 0.6004 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2414, allocations: 3.938 kB / 0.6004 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2414, allocations: 0 / 0.6004 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.2417, allocations: 229.3 kB / 0.6007 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2417, allocations: 0 / 0.6007 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.2419, allocations: 31.97 kB / 0.6007 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2419, allocations: 0 / 0.6007 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2419, allocations: 8 kB / 0.6007 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2419, allocations: 0 / 0.6007 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2419, allocations: 0 / 0.6007 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.2424, allocations: 251.3 kB / 0.6009 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.2424, allocations: 100.8 kB / 0.601 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2425, allocations: 12 kB / 0.6011 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2426, allocations: 7.984 kB / 0.6011 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.2427, allocations: 15.98 kB / 0.6011 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2427, allocations: 3.938 kB / 0.6011 GB, free: 10.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.2428, allocations: 112 kB / 0.6012 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2428, allocations: 0 / 0.6012 GB, free: 10.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.2432, allocations: 68.3 kB / 0.6013 GB, free: 10.76 MB / 462.1 MB 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.0003542/0.2435, allocations: 159.1 kB / 0.6014 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.244, allocations: 164 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.244, allocations: 0 / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.2442, allocations: 71.89 kB / 0.6016 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.2447, allocations: 19.92 kB / 0.6016 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.2453, allocations: 286.9 kB / 0.6019 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2456, allocations: 0.7087 MB / 0.6026 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.2457, allocations: 24.89 kB / 0.6026 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.2458, allocations: 23.42 kB / 0.6027 GB, free: 9.266 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2458, allocations: 0 / 0.6027 GB, free: 9.266 MB / 462.1 MB Notification: Performance of Templates: time 0.005903/0.2517, allocations: 2.547 MB / 0.6051 GB, free: 6.773 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)