Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.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.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") translateModel(Buildings.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") [/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.2055/0.2064, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTestImplementation): time 0.6245/0.831, allocations: 160.9 MB / 0.7512 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004316/0.8353, allocations: 2.526 MB / 0.7537 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.8364, allocations: 7.156 kB / 0.7537 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.8378, allocations: 219.5 kB / 0.7539 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.8394, allocations: 415.2 kB / 0.7543 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.8405, allocations: 318.8 kB / 0.7546 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002445/0.843, allocations: 1.608 MB / 0.7562 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.8433, allocations: 114.5 kB / 0.7563 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.8454, allocations: 0.6099 MB / 0.7569 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.8465, allocations: 381.3 kB / 0.7573 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.8467, allocations: 22.91 kB / 0.7573 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.8471, allocations: 28.25 kB / 0.7573 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.8474, allocations: 190.1 kB / 0.7575 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00069/0.8481, allocations: 270.9 kB / 0.7578 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.8491, allocations: 0.6441 MB / 0.7584 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8492, allocations: 0 / 0.7584 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.198e-06/0.8492, allocations: 0 / 0.7584 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.793e-05/0.8492, allocations: 4 kB / 0.7584 GB, free: 12.49 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001703/0.8509, allocations: 0.6198 MB / 0.759 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.851, allocations: 13.34 kB / 0.759 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.8515, allocations: 54.58 kB / 0.7591 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.8522, allocations: 338.8 kB / 0.7594 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.8522, allocations: 28.5 kB / 0.7594 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.8523, allocations: 34.25 kB / 0.7594 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.853, allocations: 400.7 kB / 0.7598 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.853, allocations: 3.938 kB / 0.7598 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.8531, allocations: 17.31 kB / 0.7598 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.8531, allocations: 6.75 kB / 0.7599 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.8537, allocations: 354 kB / 0.7602 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.8563, allocations: 1.568 MB / 0.7617 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.8569, allocations: 284 kB / 0.762 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.8572, allocations: 158 kB / 0.7621 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.8572, allocations: 13.84 kB / 0.7622 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.8573, allocations: 49.5 kB / 0.7622 GB, free: 10.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.8573, allocations: 0 / 0.7622 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.003065/0.8604, allocations: 1.434 MB / 0.7636 GB, free: 9.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.8604, allocations: 56.94 kB / 0.7637 GB, free: 9.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.8608, allocations: 319.8 kB / 0.764 GB, free: 9.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.8608, allocations: 32.02 kB / 0.764 GB, free: 9.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.861, allocations: 197.1 kB / 0.7642 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.8611, allocations: 139.7 kB / 0.7643 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.8611, allocations: 35.58 kB / 0.7644 GB, free: 9.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8613, allocations: 350.9 kB / 0.7647 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.8615, allocations: 142.5 kB / 0.7648 GB, free: 8.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.8617, allocations: 194.5 kB / 0.765 GB, free: 8.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.8622, allocations: 359.6 kB / 0.7653 GB, free: 8.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8622, allocations: 2.844 kB / 0.7654 GB, free: 8.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006505/0.8629, allocations: 459.6 kB / 0.7658 GB, free: 8.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.8629, allocations: 8.594 kB / 0.7658 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8629, allocations: 0 / 0.7658 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.8631, allocations: 48.56 kB / 0.7658 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.8635, allocations: 87.66 kB / 0.7659 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.8657, allocations: 2.627 MB / 0.7685 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.8661, allocations: 31.86 kB / 0.7685 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.8661, allocations: 14.44 kB / 0.7685 GB, free: 5.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.8664, allocations: 186.2 kB / 0.7687 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.8665, allocations: 38.62 kB / 0.7688 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.8666, allocations: 52.03 kB / 0.7688 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.8666, allocations: 2.844 kB / 0.7688 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.8666, allocations: 3.719 kB / 0.7688 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006965/0.8673, allocations: 0.5861 MB / 0.7694 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.869, allocations: 1.047 MB / 0.7704 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.869, allocations: 0 / 0.7704 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.8694, allocations: 87.23 kB / 0.7705 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.8695, allocations: 5.766 kB / 0.7705 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.8695, allocations: 13.5 kB / 0.7705 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.8695, allocations: 7.156 kB / 0.7705 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8695, allocations: 6.5 kB / 0.7705 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.8704, allocations: 0.6712 MB / 0.7712 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.8707, allocations: 164.2 kB / 0.7713 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.8707, allocations: 12.14 kB / 0.7713 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.8712, allocations: 30.7 kB / 0.7714 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.8712, allocations: 39.23 kB / 0.7714 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.8713, allocations: 20.7 kB / 0.7714 GB, free: 4.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002483/0.8715, allocations: 222.9 kB / 0.7716 GB, free: 4.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8716, allocations: 0 / 0.7716 GB, free: 4.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004753/0.872, allocations: 124.7 kB / 0.7718 GB, free: 4.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001679/0.8722, allocations: 120.7 kB / 0.7719 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008368/0.8731, allocations: 0.5584 MB / 0.7724 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8731, allocations: 0 / 0.7724 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.8733, allocations: 181.3 kB / 0.7726 GB, free: 3.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.8747, allocations: 237.9 kB / 0.7728 GB, free: 3.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.8767, allocations: 1.278 MB / 0.7741 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.8772, allocations: 0.822 MB / 0.7749 GB, free: 2.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.8777, allocations: 98.33 kB / 0.775 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.8778, allocations: 37.94 kB / 0.775 GB, free: 2.086 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.8778, allocations: 0 / 0.775 GB, free: 2.086 MB / 0.545 GB Notification: Performance of Templates: time 0.01503/0.8928, allocations: 8.673 MB / 0.7835 GB, free: 13.8 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe 2>&1) Environment - environmentSimulation: