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.2109/0.2119, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6399/0.8519, allocations: 144.9 MB / 0.7356 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008446/0.8604, allocations: 7.078 MB / 0.7426 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.8607, allocations: 0.8438 kB / 0.7426 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.8611, allocations: 71.67 kB / 0.7426 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.8615, allocations: 145.8 kB / 0.7428 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.8647, allocations: 0.9343 MB / 0.7437 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006848/0.8654, allocations: 0.5443 MB / 0.7442 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.8655, allocations: 17.77 kB / 0.7442 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.8659, allocations: 189.9 kB / 0.7444 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.8662, allocations: 146.4 kB / 0.7445 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.8662, allocations: 7.844 kB / 0.7446 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.869, allocations: 1.52 MB / 0.746 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.8691, allocations: 75.2 kB / 0.7461 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.8692, allocations: 133.8 kB / 0.7462 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.8705, allocations: 0.7533 MB / 0.747 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8705, allocations: 0 / 0.747 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8705, allocations: 0 / 0.747 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8706, allocations: 0 / 0.747 GB, free: 14.23 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.001079/0.8716, allocations: 0.5468 MB / 0.7475 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8717, allocations: 9.594 kB / 0.7475 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.8729, allocations: 134.7 kB / 0.7476 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.8732, allocations: 222.7 kB / 0.7479 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.8732, allocations: 19.66 kB / 0.7479 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.8733, allocations: 15.56 kB / 0.7479 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.8738, allocations: 350.8 kB / 0.7482 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8738, allocations: 1.859 kB / 0.7482 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.8739, allocations: 10.78 kB / 0.7482 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.8739, allocations: 17.64 kB / 0.7483 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.8744, allocations: 319.6 kB / 0.7486 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.8761, allocations: 1.195 MB / 0.7497 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.8766, allocations: 189.5 kB / 0.7499 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.8768, allocations: 83.03 kB / 0.75 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.8773, allocations: 458.1 kB / 0.7504 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.8774, allocations: 40.33 kB / 0.7505 GB, free: 11.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.8774, allocations: 0 / 0.7505 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0006703/0.8781, allocations: 245.1 kB / 0.7507 GB, free: 11.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.8781, allocations: 58.38 kB / 0.7507 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.8784, allocations: 218.7 kB / 0.751 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.8785, allocations: 36.44 kB / 0.751 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.8786, allocations: 147.9 kB / 0.7511 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.8787, allocations: 70.78 kB / 0.7512 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.8787, allocations: 31.83 kB / 0.7512 GB, free: 11.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8789, allocations: 327.1 kB / 0.7515 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.879, allocations: 68.22 kB / 0.7516 GB, free: 10.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.8793, allocations: 166.3 kB / 0.7518 GB, free: 10.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.8797, allocations: 261.5 kB / 0.752 GB, free: 10.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8797, allocations: 0 / 0.752 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005468/0.8802, allocations: 282.4 kB / 0.7523 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8803, allocations: 12.53 kB / 0.7523 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.8803, allocations: 2.906 kB / 0.7523 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.8803, allocations: 3.562 kB / 0.7523 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.8806, allocations: 60.97 kB / 0.7524 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.8806, allocations: 5.5 kB / 0.7524 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.8809, allocations: 38.11 kB / 0.7524 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.8809, allocations: 16.09 kB / 0.7524 GB, free: 10.39 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.0001622/0.8811, allocations: 141.3 kB / 0.7526 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.8813, allocations: 29.89 kB / 0.7526 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.8818, allocations: 268.9 kB / 0.7528 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.8819, allocations: 6.734 kB / 0.7528 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8819, allocations: 0 / 0.7528 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8819, allocations: 0 / 0.7528 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/0.8826, allocations: 0.5707 MB / 0.7534 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8827, allocations: 0 / 0.7534 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.8828, allocations: 29.42 kB / 0.7534 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.8828, allocations: 3.281 kB / 0.7534 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8829, allocations: 3.5 kB / 0.7534 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.8829, allocations: 6.625 kB / 0.7534 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8829, allocations: 0 / 0.7534 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.8834, allocations: 330 kB / 0.7538 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.8835, allocations: 121.6 kB / 0.7539 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.8835, allocations: 6.25 kB / 0.7539 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.8838, allocations: 12.61 kB / 0.7539 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.8838, allocations: 13.58 kB / 0.7539 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.8839, allocations: 15.89 kB / 0.7539 GB, free: 9.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001285/0.884, allocations: 164 kB / 0.7541 GB, free: 9.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.884, allocations: 0 / 0.7541 GB, free: 9.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004992/0.8845, allocations: 120.2 kB / 0.7542 GB, free: 9.332 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.0004335/0.885, allocations: 221.4 kB / 0.7544 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.8853, allocations: 207 kB / 0.7546 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8853, allocations: 3.938 kB / 0.7546 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.8855, allocations: 99.95 kB / 0.7547 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.8861, allocations: 94.81 kB / 0.7548 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.8871, allocations: 0.5629 MB / 0.7553 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.8875, allocations: 0.7398 MB / 0.7561 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.8878, allocations: 58.08 kB / 0.7561 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.8879, allocations: 30.94 kB / 0.7561 GB, free: 7.945 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/0.8879, allocations: 0 / 0.7561 GB, free: 7.945 MB / 0.545 GB Notification: Performance of Templates: time 0.009982/0.8979, allocations: 5.348 MB / 0.7614 GB, free: 5.305 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: