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.2178/0.2199, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.8324/1.052, allocations: 149.1 MB / 0.8162 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01068/1.063, allocations: 7.079 MB / 0.8231 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/1.063, allocations: 6.719 kB / 0.8231 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006413/1.064, allocations: 68.11 kB / 0.8232 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006088/1.065, allocations: 157.6 kB / 0.8234 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/1.069, allocations: 0.9877 MB / 0.8243 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000674/1.069, allocations: 364.6 kB / 0.8247 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/1.069, allocations: 16.5 kB / 0.8247 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/1.07, allocations: 221 kB / 0.8249 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/1.07, allocations: 135.6 kB / 0.825 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/1.07, allocations: 14.61 kB / 0.825 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/1.073, allocations: 1.206 MB / 0.8262 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/1.074, allocations: 77.61 kB / 0.8263 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/1.074, allocations: 115.3 kB / 0.8264 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/1.075, allocations: 0.6487 MB / 0.827 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.075, allocations: 0 / 0.827 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.514e-06/1.075, allocations: 0 / 0.827 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.075, allocations: 0 / 0.827 GB, free: 1.75 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.001423/1.077, allocations: 0.6058 MB / 0.8276 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.077, allocations: 10.22 kB / 0.8276 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.078, allocations: 134.9 kB / 0.8278 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/1.078, allocations: 220.8 kB / 0.828 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/1.078, allocations: 19.88 kB / 0.828 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/1.079, allocations: 20.84 kB / 0.828 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/1.079, allocations: 350.3 kB / 0.8284 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.079, allocations: 0 / 0.8284 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/1.079, allocations: 12.66 kB / 0.8284 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/1.079, allocations: 15.86 kB / 0.8284 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/1.08, allocations: 322.2 kB / 0.8287 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/1.082, allocations: 1.189 MB / 0.8298 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/1.082, allocations: 185 kB / 0.83 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/1.083, allocations: 82.75 kB / 0.8301 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/1.083, allocations: 460.9 kB / 0.8305 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.083, allocations: 36.91 kB / 0.8306 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/1.083, allocations: 0 / 0.8306 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006688/1.084, allocations: 257.8 kB / 0.8308 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/1.084, allocations: 54.22 kB / 0.8309 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/1.084, allocations: 212.9 kB / 0.8311 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/1.084, allocations: 32.61 kB / 0.8311 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.084, allocations: 154.3 kB / 0.8313 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/1.084, allocations: 67.16 kB / 0.8313 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/1.085, allocations: 57.81 kB / 0.8314 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.085, allocations: 327.2 kB / 0.8317 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/1.085, allocations: 75.33 kB / 0.8318 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/1.085, allocations: 167.5 kB / 0.8319 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/1.085, allocations: 256.4 kB / 0.8322 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.085, allocations: 0 / 0.8322 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005141/1.086, allocations: 291.9 kB / 0.8324 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.086, allocations: 13.72 kB / 0.8325 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.086, allocations: 2.812 kB / 0.8325 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.086, allocations: 4.875 kB / 0.8325 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/1.086, allocations: 56.94 kB / 0.8325 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.086, allocations: 5.25 kB / 0.8325 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/1.087, allocations: 27.53 kB / 0.8325 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/1.087, allocations: 16.62 kB / 0.8326 GB, free: 13.24 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.0001584/1.087, allocations: 141.9 kB / 0.8327 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.087, allocations: 28.42 kB / 0.8327 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/1.087, allocations: 277.7 kB / 0.833 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.087, allocations: 2.781 kB / 0.833 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.087, allocations: 0 / 0.833 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.087, allocations: 0 / 0.833 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009386/1.088, allocations: 0.567 MB / 0.8335 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.088, allocations: 2.562 kB / 0.8336 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/1.089, allocations: 33.98 kB / 0.8336 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.089, allocations: 0 / 0.8336 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/1.089, allocations: 2.812 kB / 0.8336 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.089, allocations: 0 / 0.8336 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.089, allocations: 3.984 kB / 0.8336 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/1.089, allocations: 345.4 kB / 0.8339 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/1.089, allocations: 119.6 kB / 0.834 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/1.09, allocations: 10.86 kB / 0.834 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/1.09, allocations: 8.875 kB / 0.8341 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/1.09, allocations: 9.203 kB / 0.8341 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/1.09, allocations: 15.45 kB / 0.8341 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001881/1.09, allocations: 162.1 kB / 0.8342 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/1.09, allocations: 0 / 0.8342 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006663/1.091, allocations: 118.8 kB / 0.8343 GB, free: 11.93 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.0005294/1.091, allocations: 221.4 kB / 0.8346 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004953/1.092, allocations: 203.7 kB / 0.8347 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.092, allocations: 2.812 kB / 0.8348 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/1.092, allocations: 93.55 kB / 0.8348 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/1.093, allocations: 99.97 kB / 0.8349 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.094, allocations: 479.7 kB / 0.8354 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/1.094, allocations: 0.7395 MB / 0.8361 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002509/1.094, allocations: 63.52 kB / 0.8362 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/1.095, allocations: 26.19 kB / 0.8362 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/1.095, allocations: 0 / 0.8362 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Templates: time 0.01214/1.107, allocations: 5.574 MB / 0.8416 GB, free: 7.734 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)