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.2183/0.2202, allocations: 80.82 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTestImplementation): time 0.7652/0.9855, allocations: 163 MB / 0.7489 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.9891, allocations: 2.555 MB / 0.7514 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.9894, allocations: 2.5 kB / 0.7514 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008984/0.9903, allocations: 223.3 kB / 0.7516 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008875/0.9912, allocations: 419.4 kB / 0.752 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.992, allocations: 325.2 kB / 0.7523 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.9937, allocations: 1.604 MB / 0.7539 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.994, allocations: 113.7 kB / 0.754 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.9957, allocations: 0.6172 MB / 0.7546 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.9963, allocations: 396.5 kB / 0.755 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.9964, allocations: 24.88 kB / 0.755 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.9966, allocations: 34.16 kB / 0.755 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.9969, allocations: 184.4 kB / 0.7552 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.9973, allocations: 251.4 kB / 0.7554 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008688/0.9981, allocations: 0.6515 MB / 0.7561 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.9982, allocations: 0 / 0.7561 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9982, allocations: 0 / 0.7561 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.9982, allocations: 4 kB / 0.7561 GB, free: 12.25 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.00177/1, allocations: 0.7283 MB / 0.7568 GB, free: 11.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.501e-05/1, allocations: 10.69 kB / 0.7568 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/1, allocations: 55.52 kB / 0.7568 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/1.001, allocations: 335.4 kB / 0.7572 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/1.001, allocations: 30.31 kB / 0.7572 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/1.001, allocations: 38.44 kB / 0.7572 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/1.002, allocations: 401.1 kB / 0.7576 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.002, allocations: 3.938 kB / 0.7576 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/1.002, allocations: 19.06 kB / 0.7576 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/1.002, allocations: 7.844 kB / 0.7576 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/1.003, allocations: 351.2 kB / 0.758 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/1.006, allocations: 1.554 MB / 0.7595 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/1.006, allocations: 296.8 kB / 0.7598 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/1.006, allocations: 159.6 kB / 0.7599 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/1.007, allocations: 11.92 kB / 0.7599 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/1.007, allocations: 48.62 kB / 0.76 GB, free: 10 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.053e-06/1.007, allocations: 3.938 kB / 0.76 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.003031/1.01, allocations: 1.417 MB / 0.7614 GB, free: 9.336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.01, allocations: 64.47 kB / 0.7614 GB, free: 9.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/1.01, allocations: 310.8 kB / 0.7617 GB, free: 9.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/1.01, allocations: 36.86 kB / 0.7618 GB, free: 9.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.01, allocations: 194.3 kB / 0.7619 GB, free: 8.957 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.01, allocations: 136.9 kB / 0.7621 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.011, allocations: 76.16 kB / 0.7622 GB, free: 8.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.011, allocations: 343.7 kB / 0.7625 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/1.011, allocations: 142.4 kB / 0.7626 GB, free: 8.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/1.011, allocations: 198.7 kB / 0.7628 GB, free: 8.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/1.012, allocations: 353.1 kB / 0.7631 GB, free: 8.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.012, allocations: 0 / 0.7631 GB, free: 8.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000724/1.013, allocations: 478.6 kB / 0.7636 GB, free: 8.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.013, allocations: 4.406 kB / 0.7636 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.013, allocations: 3 kB / 0.7636 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/1.013, allocations: 37.61 kB / 0.7636 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/1.013, allocations: 96.42 kB / 0.7637 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/1.016, allocations: 2.624 MB / 0.7663 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/1.016, allocations: 27.95 kB / 0.7663 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.016, allocations: 13.59 kB / 0.7663 GB, free: 5.586 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.0003304/1.016, allocations: 186.1 kB / 0.7665 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.016, allocations: 48.12 kB / 0.7666 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/1.017, allocations: 45.91 kB / 0.7666 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.017, allocations: 9.25 kB / 0.7666 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/1.017, allocations: 0 / 0.7666 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007427/1.017, allocations: 0.5837 MB / 0.7672 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/1.019, allocations: 1.052 MB / 0.7682 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.019, allocations: 2.531 kB / 0.7682 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/1.02, allocations: 86.86 kB / 0.7683 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.02, allocations: 9.625 kB / 0.7683 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/1.02, allocations: 15.52 kB / 0.7683 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.02, allocations: 2.719 kB / 0.7683 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.02, allocations: 12.03 kB / 0.7683 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009395/1.021, allocations: 0.6638 MB / 0.769 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/1.021, allocations: 164.5 kB / 0.7691 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/1.021, allocations: 7.562 kB / 0.7691 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/1.021, allocations: 34.12 kB / 0.7692 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/1.021, allocations: 32.44 kB / 0.7692 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/1.021, allocations: 20.02 kB / 0.7692 GB, free: 4.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002393/1.022, allocations: 232 kB / 0.7694 GB, free: 3.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/1.022, allocations: 0 / 0.7694 GB, free: 3.934 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004933/1.022, allocations: 124.9 kB / 0.7696 GB, free: 3.934 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.0001713/1.022, allocations: 109.8 kB / 0.7697 GB, free: 3.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008339/1.023, allocations: 0.5606 MB / 0.7702 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.023, allocations: 256 / 0.7702 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.023, allocations: 184.8 kB / 0.7704 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/1.025, allocations: 239.9 kB / 0.7706 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/1.027, allocations: 1.189 MB / 0.7718 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/1.027, allocations: 0.8265 MB / 0.7726 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000506/1.028, allocations: 98.2 kB / 0.7727 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/1.028, allocations: 35.84 kB / 0.7727 GB, free: 1.902 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/1.028, allocations: 0 / 0.7727 GB, free: 1.902 MB / 0.545 GB Notification: Performance of Templates: time 0.01503/1.043, allocations: 8.747 MB / 0.7813 GB, free: 13.64 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.makefile (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)