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.1716/0.1736, allocations: 80.83 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6379/0.8115, allocations: 147 MB / 0.7334 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008187/0.8197, allocations: 7.032 MB / 0.7403 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.8201, allocations: 1.5 kB / 0.7403 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.8205, allocations: 62.3 kB / 0.7403 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.821, allocations: 155.7 kB / 0.7405 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.8242, allocations: 0.9307 MB / 0.7414 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.8248, allocations: 370.1 kB / 0.7417 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.8248, allocations: 18.69 kB / 0.7418 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.8253, allocations: 207.9 kB / 0.742 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.8255, allocations: 146.8 kB / 0.7421 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.8256, allocations: 11.03 kB / 0.7421 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.8281, allocations: 1.269 MB / 0.7434 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.8282, allocations: 79.22 kB / 0.7434 GB, free: 14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.8283, allocations: 115.1 kB / 0.7435 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.8295, allocations: 0.7366 MB / 0.7443 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8296, allocations: 0 / 0.7443 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.869e-06/0.8296, allocations: 5.406 kB / 0.7443 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8296, allocations: 3.938 kB / 0.7443 GB, free: 13.88 MB / 0.545 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.001138/0.8307, allocations: 0.6059 MB / 0.7449 GB, free: 13.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.8308, allocations: 8.062 kB / 0.7449 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.832, allocations: 134.1 kB / 0.745 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.8323, allocations: 220.4 kB / 0.7452 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.8323, allocations: 15.34 kB / 0.7452 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.8324, allocations: 22.16 kB / 0.7452 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.833, allocations: 350.8 kB / 0.7456 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.833, allocations: 0 / 0.7456 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.8331, allocations: 14 kB / 0.7456 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.8331, allocations: 19.47 kB / 0.7456 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005409/0.8337, allocations: 317.7 kB / 0.7459 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.8354, allocations: 1.196 MB / 0.7471 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.8359, allocations: 186.8 kB / 0.7473 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.836, allocations: 85.05 kB / 0.7473 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/0.8366, allocations: 460.6 kB / 0.7478 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.8367, allocations: 36.38 kB / 0.7478 GB, free: 11.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.8367, allocations: 0 / 0.7478 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0006851/0.8374, allocations: 249.2 kB / 0.748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.8374, allocations: 56.78 kB / 0.7481 GB, free: 11.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.8377, allocations: 219.1 kB / 0.7483 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.8377, allocations: 31.05 kB / 0.7483 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.8378, allocations: 147.7 kB / 0.7485 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.8379, allocations: 69.94 kB / 0.7485 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.838, allocations: 54.28 kB / 0.7486 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8381, allocations: 325.9 kB / 0.7489 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.8382, allocations: 74.39 kB / 0.749 GB, free: 10.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.8384, allocations: 162.6 kB / 0.7491 GB, free: 10.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.8387, allocations: 262 kB / 0.7494 GB, free: 10.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.8388, allocations: 0 / 0.7494 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005448/0.8393, allocations: 284.6 kB / 0.7497 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8393, allocations: 9.312 kB / 0.7497 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.8394, allocations: 2.375 kB / 0.7497 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8394, allocations: 5.188 kB / 0.7497 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.8396, allocations: 58.92 kB / 0.7497 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.8396, allocations: 5.656 kB / 0.7497 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.8399, allocations: 35.8 kB / 0.7498 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.8399, allocations: 16.66 kB / 0.7498 GB, free: 10.59 MB / 0.545 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.0001316/0.8401, allocations: 138.6 kB / 0.7499 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.8402, allocations: 30.98 kB / 0.7499 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.8408, allocations: 271.5 kB / 0.7502 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.8408, allocations: 6.031 kB / 0.7502 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8408, allocations: 0 / 0.7502 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.8408, allocations: 6.016 kB / 0.7502 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/0.8416, allocations: 0.5717 MB / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8416, allocations: 0 / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.8418, allocations: 27.78 kB / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.8418, allocations: 2.719 kB / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.8418, allocations: 0 / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8418, allocations: 4.141 kB / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8418, allocations: 0 / 0.7508 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.8423, allocations: 335.9 kB / 0.7511 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.8424, allocations: 123.5 kB / 0.7512 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.8425, allocations: 2.281 kB / 0.7512 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.8427, allocations: 10.67 kB / 0.7513 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.8428, allocations: 13.86 kB / 0.7513 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.8428, allocations: 12.5 kB / 0.7513 GB, free: 9.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001296/0.843, allocations: 165 kB / 0.7514 GB, free: 9.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.843, allocations: 3.062 kB / 0.7514 GB, free: 9.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000586/0.8435, allocations: 113.6 kB / 0.7516 GB, free: 9.699 MB / 0.545 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.00046/0.844, allocations: 219.8 kB / 0.7518 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.8444, allocations: 219.4 kB / 0.752 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.8444, allocations: 2.969 kB / 0.752 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.8446, allocations: 99.77 kB / 0.7521 GB, free: 9.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.8452, allocations: 97.41 kB / 0.7522 GB, free: 9.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.8461, allocations: 0.5227 MB / 0.7527 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.8465, allocations: 0.7458 MB / 0.7534 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002866/0.8468, allocations: 54.94 kB / 0.7535 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.8469, allocations: 34.5 kB / 0.7535 GB, free: 8.496 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.8469, allocations: 0 / 0.7535 GB, free: 8.496 MB / 0.545 GB Notification: Performance of Templates: time 0.009666/0.8566, allocations: 5.536 MB / 0.7589 GB, free: 5.766 MB / 0.545 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)