Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirProperties") [/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.2067/0.2087, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7675/0.9763, allocations: 149.1 MB / 0.8162 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.9872, allocations: 7.08 MB / 0.8231 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.9876, allocations: 1.188 kB / 0.8231 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.9881, allocations: 73.16 kB / 0.8232 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005754/0.9887, allocations: 162.5 kB / 0.8234 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.9926, allocations: 0.9926 MB / 0.8243 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008036/0.9934, allocations: 369.3 kB / 0.8247 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.9935, allocations: 13.56 kB / 0.8247 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.994, allocations: 218.3 kB / 0.8249 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.9942, allocations: 135.5 kB / 0.825 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.9943, allocations: 11.22 kB / 0.825 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.9971, allocations: 1.206 MB / 0.8262 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.9973, allocations: 73.44 kB / 0.8263 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.9974, allocations: 116 kB / 0.8264 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.9989, allocations: 0.64 MB / 0.827 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.9989, allocations: 0 / 0.827 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.346e-06/0.9989, allocations: 4 kB / 0.827 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9989, allocations: 0 / 0.827 GB, free: 1.754 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001408/1, allocations: 0.6 MB / 0.8276 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1, allocations: 8.75 kB / 0.8276 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.002, allocations: 131.9 kB / 0.8278 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/1.002, allocations: 225 kB / 0.828 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.002, allocations: 20.75 kB / 0.828 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/1.002, allocations: 18.56 kB / 0.828 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/1.003, allocations: 353.9 kB / 0.8283 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.003, allocations: 0 / 0.8283 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/1.003, allocations: 8.625 kB / 0.8283 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/1.003, allocations: 18.86 kB / 0.8284 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/1.003, allocations: 320.9 kB / 0.8287 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.006, allocations: 1.187 MB / 0.8298 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/1.006, allocations: 190.7 kB / 0.83 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/1.006, allocations: 77.78 kB / 0.8301 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/1.007, allocations: 468.4 kB / 0.8305 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.007, allocations: 36.94 kB / 0.8306 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.093e-06/1.007, allocations: 3.938 kB / 0.8306 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0007367/1.008, allocations: 253.3 kB / 0.8308 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.008, allocations: 54.66 kB / 0.8309 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/1.008, allocations: 217.3 kB / 0.8311 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.008, allocations: 31.52 kB / 0.8311 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.008, allocations: 148.1 kB / 0.8312 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/1.008, allocations: 65.14 kB / 0.8313 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.008, allocations: 53.39 kB / 0.8314 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002459/1.009, allocations: 332.1 kB / 0.8317 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/1.009, allocations: 66.95 kB / 0.8317 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/1.009, allocations: 171.2 kB / 0.8319 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/1.009, allocations: 251.8 kB / 0.8321 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.009, allocations: 2.938 kB / 0.8321 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004991/1.01, allocations: 283.5 kB / 0.8324 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.01, allocations: 11.41 kB / 0.8324 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.01, allocations: 6.656 kB / 0.8324 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.01, allocations: 5.094 kB / 0.8324 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/1.01, allocations: 61.41 kB / 0.8325 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.01, allocations: 2.281 kB / 0.8325 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.011, allocations: 29.94 kB / 0.8325 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/1.011, allocations: 10.09 kB / 0.8325 GB, free: 13.26 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001446/1.011, allocations: 142.3 kB / 0.8327 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.011, allocations: 24.47 kB / 0.8327 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/1.011, allocations: 287.6 kB / 0.833 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.011, allocations: 5.906 kB / 0.833 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.011, allocations: 0 / 0.833 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.011, allocations: 0 / 0.833 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/1.012, allocations: 0.5595 MB / 0.8335 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.012, allocations: 6.844 kB / 0.8335 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.012, allocations: 33.55 kB / 0.8336 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.012, allocations: 0 / 0.8336 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/1.012, allocations: 6.406 kB / 0.8336 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/1.012, allocations: 0 / 0.8336 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.012, allocations: 2.406 kB / 0.8336 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/1.013, allocations: 338.1 kB / 0.8339 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/1.013, allocations: 123 kB / 0.834 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/1.013, allocations: 7.984 kB / 0.834 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/1.013, allocations: 8.75 kB / 0.834 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/1.013, allocations: 13.33 kB / 0.834 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/1.013, allocations: 14.05 kB / 0.8341 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001417/1.014, allocations: 159.9 kB / 0.8342 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/1.014, allocations: 0 / 0.8342 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005342/1.014, allocations: 114.3 kB / 0.8343 GB, free: 11.95 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004553/1.015, allocations: 214 kB / 0.8345 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004135/1.015, allocations: 211.2 kB / 0.8347 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.015, allocations: 0 / 0.8347 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.015, allocations: 100.5 kB / 0.8348 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/1.016, allocations: 93.05 kB / 0.8349 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/1.017, allocations: 468.7 kB / 0.8353 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/1.017, allocations: 0.74 MB / 0.8361 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002193/1.018, allocations: 65.42 kB / 0.8361 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/1.018, allocations: 22.78 kB / 0.8362 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/1.018, allocations: 4 kB / 0.8362 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.0108/1.028, allocations: 5.575 MB / 0.8416 GB, free: 7.762 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirProperties.pipe 2>&1)