Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") [/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.2186/0.2205, allocations: 80.84 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.6013/0.8219, allocations: 159 MB / 0.7451 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004647/0.8266, allocations: 2.374 MB / 0.7475 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004473/0.8272, allocations: 6.75 kB / 0.7475 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.8282, allocations: 234.3 kB / 0.7477 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.8293, allocations: 414.2 kB / 0.7481 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008859/0.8302, allocations: 307 kB / 0.7484 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.8317, allocations: 1.054 MB / 0.7494 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.832, allocations: 139.7 kB / 0.7495 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.8335, allocations: 0.5729 MB / 0.7501 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.8341, allocations: 396 kB / 0.7505 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.8342, allocations: 48.03 kB / 0.7505 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.8344, allocations: 63.86 kB / 0.7506 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.8347, allocations: 209.5 kB / 0.7508 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.835, allocations: 281 kB / 0.751 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.8357, allocations: 0.6961 MB / 0.7517 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8358, allocations: 4 kB / 0.7517 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8358, allocations: 0 / 0.7517 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8358, allocations: 0 / 0.7517 GB, free: 13.07 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001379/0.8372, allocations: 0.7278 MB / 0.7524 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8372, allocations: 8.25 kB / 0.7525 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.8375, allocations: 57.44 kB / 0.7525 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.838, allocations: 331.4 kB / 0.7528 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.838, allocations: 29.72 kB / 0.7529 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.8381, allocations: 33.47 kB / 0.7529 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.8387, allocations: 404.4 kB / 0.7533 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.8388, allocations: 9.969 kB / 0.7533 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.8388, allocations: 23.81 kB / 0.7533 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.8388, allocations: 7.375 kB / 0.7533 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.8394, allocations: 383.9 kB / 0.7537 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.8416, allocations: 1.574 MB / 0.7552 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.8421, allocations: 286.2 kB / 0.7555 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.8423, allocations: 150.2 kB / 0.7556 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.8423, allocations: 9.047 kB / 0.7556 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.8424, allocations: 44.41 kB / 0.7557 GB, free: 11.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.8424, allocations: 0 / 0.7557 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=41): time 0.004366/0.8468, allocations: 1.828 MB / 0.7575 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.8469, allocations: 60.09 kB / 0.7575 GB, free: 10.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.8472, allocations: 326.9 kB / 0.7578 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.8473, allocations: 39.27 kB / 0.7579 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.8474, allocations: 191.5 kB / 0.7581 GB, free: 9.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.8476, allocations: 150.3 kB / 0.7582 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.8477, allocations: 73.77 kB / 0.7583 GB, free: 9.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.8479, allocations: 344 kB / 0.7586 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.8481, allocations: 166.5 kB / 0.7588 GB, free: 9.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.8484, allocations: 217.5 kB / 0.759 GB, free: 9.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.849, allocations: 396.5 kB / 0.7593 GB, free: 9.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.849, allocations: 0 / 0.7593 GB, free: 9.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009057/0.8499, allocations: 0.5557 MB / 0.7599 GB, free: 9.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.8499, allocations: 4.906 kB / 0.7599 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.85, allocations: 3.938 kB / 0.7599 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.8503, allocations: 95.08 kB / 0.76 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.851, allocations: 115.3 kB / 0.7601 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/0.8546, allocations: 4.55 MB / 0.7645 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8551, allocations: 30.06 kB / 0.7646 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.8551, allocations: 15.44 kB / 0.7646 GB, free: 4.676 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (49): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.8554, allocations: 188.8 kB / 0.7648 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.8555, allocations: 40.75 kB / 0.7648 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.8556, allocations: 59.77 kB / 0.7649 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8556, allocations: 6.719 kB / 0.7649 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.8557, allocations: 0 / 0.7649 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008472/0.8565, allocations: 0.6524 MB / 0.7655 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.8583, allocations: 1.122 MB / 0.7666 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8584, allocations: 10.66 kB / 0.7666 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.8591, allocations: 117.1 kB / 0.7667 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.8593, allocations: 53.88 kB / 0.7668 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.8594, allocations: 18.47 kB / 0.7668 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.8611, allocations: 1.736 MB / 0.7685 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.8611, allocations: 0 / 0.7685 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.8624, allocations: 0.7815 MB / 0.7692 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.8627, allocations: 165 kB / 0.7694 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.8627, allocations: 11.81 kB / 0.7694 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.8632, allocations: 44.08 kB / 0.7695 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.8632, allocations: 28.38 kB / 0.7695 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.8633, allocations: 20.7 kB / 0.7695 GB, free: 1.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002513/0.8635, allocations: 234.8 kB / 0.7697 GB, free: 1.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.51e-07/0.8636, allocations: 4 kB / 0.7697 GB, free: 1.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006112/0.8642, allocations: 132.2 kB / 0.7699 GB, free: 1.371 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.8644, allocations: 123 kB / 0.77 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.8656, allocations: 0.7832 MB / 0.7707 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.8657, allocations: 2.406 kB / 0.7707 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.8662, allocations: 331.9 kB / 0.7711 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.8674, allocations: 251.7 kB / 0.7713 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.8697, allocations: 1.271 MB / 0.7725 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.8702, allocations: 0.8348 MB / 0.7734 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004612/0.8706, allocations: 94.12 kB / 0.7734 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.8707, allocations: 39.73 kB / 0.7735 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.8708, allocations: 0 / 0.7735 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.01685/0.8876, allocations: 9.746 MB / 0.783 GB, free: 10.26 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)