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.1927/0.1951, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7141/0.9092, allocations: 149.1 MB / 0.8162 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008818/0.9181, allocations: 7.078 MB / 0.8231 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.9183, allocations: 0 / 0.8231 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.9188, allocations: 78.69 kB / 0.8232 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.9194, allocations: 157.3 kB / 0.8234 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.9226, allocations: 0.9903 MB / 0.8243 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.9231, allocations: 368.4 kB / 0.8247 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.9232, allocations: 20.17 kB / 0.8247 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.9237, allocations: 222 kB / 0.8249 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.9239, allocations: 131.7 kB / 0.825 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.9239, allocations: 13.34 kB / 0.825 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.9264, allocations: 1.203 MB / 0.8262 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.9265, allocations: 73.88 kB / 0.8263 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.9267, allocations: 116 kB / 0.8264 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.9279, allocations: 0.6454 MB / 0.827 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9279, allocations: 4 kB / 0.827 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9279, allocations: 0 / 0.827 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.9279, allocations: 0 / 0.827 GB, free: 1.703 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.001226/0.9291, allocations: 0.594 MB / 0.8276 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.9292, allocations: 10.75 kB / 0.8276 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.9304, allocations: 130.7 kB / 0.8277 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.9307, allocations: 229 kB / 0.828 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.9307, allocations: 15.12 kB / 0.828 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.9307, allocations: 21.81 kB / 0.828 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.9313, allocations: 345.7 kB / 0.8283 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.9313, allocations: 0 / 0.8283 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.9314, allocations: 10 kB / 0.8283 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.9314, allocations: 18.08 kB / 0.8284 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.9319, allocations: 316.7 kB / 0.8287 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.9336, allocations: 1.196 MB / 0.8298 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.9341, allocations: 194.3 kB / 0.83 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.9343, allocations: 86.09 kB / 0.8301 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.9349, allocations: 455.9 kB / 0.8305 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.9349, allocations: 37.5 kB / 0.8306 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.9349, allocations: 0 / 0.8306 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006355/0.9356, allocations: 254.8 kB / 0.8308 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.9356, allocations: 55.41 kB / 0.8309 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.9358, allocations: 219.9 kB / 0.8311 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.9359, allocations: 29.7 kB / 0.8311 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.936, allocations: 145.6 kB / 0.8312 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.936, allocations: 72.86 kB / 0.8313 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.9361, allocations: 54.42 kB / 0.8314 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9363, allocations: 331.2 kB / 0.8317 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.9364, allocations: 64.77 kB / 0.8317 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.9366, allocations: 170.6 kB / 0.8319 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.9369, allocations: 252.5 kB / 0.8321 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9369, allocations: 0 / 0.8321 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004964/0.9374, allocations: 294.2 kB / 0.8324 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.9375, allocations: 8.844 kB / 0.8324 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.9375, allocations: 4.875 kB / 0.8324 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9375, allocations: 5.25 kB / 0.8324 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.9378, allocations: 58.91 kB / 0.8325 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.9378, allocations: 4.406 kB / 0.8325 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.938, allocations: 29.81 kB / 0.8325 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.938, allocations: 13.59 kB / 0.8325 GB, free: 13.21 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.0001376/0.9382, allocations: 146.6 kB / 0.8327 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.9383, allocations: 24.47 kB / 0.8327 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.9388, allocations: 278.9 kB / 0.833 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.9388, allocations: 2.938 kB / 0.833 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9388, allocations: 0 / 0.833 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9388, allocations: 0 / 0.833 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.9395, allocations: 0.5614 MB / 0.8335 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.9395, allocations: 7.062 kB / 0.8335 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.9397, allocations: 29.11 kB / 0.8336 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.9397, allocations: 0 / 0.8336 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.9397, allocations: 6.656 kB / 0.8336 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9397, allocations: 3.938 kB / 0.8336 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9397, allocations: 0 / 0.8336 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.9402, allocations: 341.2 kB / 0.8339 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.9403, allocations: 119.7 kB / 0.834 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.9404, allocations: 2.719 kB / 0.834 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.9406, allocations: 13.05 kB / 0.834 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.9407, allocations: 12.58 kB / 0.834 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.9407, allocations: 13.86 kB / 0.834 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001349/0.9408, allocations: 160.2 kB / 0.8342 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9408, allocations: 0 / 0.8342 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004783/0.9413, allocations: 114.7 kB / 0.8343 GB, free: 11.91 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.0003964/0.9417, allocations: 217.9 kB / 0.8345 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.9421, allocations: 212.4 kB / 0.8347 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9421, allocations: 6.406 kB / 0.8347 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.9423, allocations: 93.55 kB / 0.8348 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.9429, allocations: 95.19 kB / 0.8349 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.9437, allocations: 468.9 kB / 0.8354 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.944, allocations: 0.7392 MB / 0.8361 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.9443, allocations: 63.27 kB / 0.8361 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.9443, allocations: 26.91 kB / 0.8362 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.9443, allocations: 0 / 0.8362 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Templates: time 0.009875/0.9542, allocations: 5.642 MB / 0.8417 GB, free: 7.664 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)