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.1845/0.1853, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.5885/0.7738, allocations: 135.2 MB / 0.7254 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.7769, allocations: 1.984 MB / 0.7273 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.7773, allocations: 4.297 kB / 0.7273 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.7781, allocations: 202.1 kB / 0.7275 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.779, allocations: 284.4 kB / 0.7278 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.7799, allocations: 263.1 kB / 0.728 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009524/0.7809, allocations: 0.545 MB / 0.7286 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.7811, allocations: 90.83 kB / 0.7286 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.7823, allocations: 442.6 kB / 0.7291 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.7826, allocations: 240.4 kB / 0.7293 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.7827, allocations: 21.94 kB / 0.7293 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.7829, allocations: 31.81 kB / 0.7293 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.7831, allocations: 169.7 kB / 0.7295 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.7833, allocations: 118.3 kB / 0.7296 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.7839, allocations: 0.5393 MB / 0.7301 GB, free: 15.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7839, allocations: 2.953 kB / 0.7301 GB, free: 15.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7839, allocations: 0 / 0.7301 GB, free: 15.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7839, allocations: 0 / 0.7301 GB, free: 15.69 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.001281/0.7852, allocations: 0.6339 MB / 0.7308 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.7852, allocations: 9.125 kB / 0.7308 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.7856, allocations: 59.84 kB / 0.7308 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.7861, allocations: 324.5 kB / 0.7311 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.7862, allocations: 29.17 kB / 0.7312 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.7863, allocations: 49.36 kB / 0.7312 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007919/0.7871, allocations: 397.9 kB / 0.7316 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.7871, allocations: 0.75 kB / 0.7316 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.7871, allocations: 17.5 kB / 0.7316 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.7872, allocations: 8.375 kB / 0.7316 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007411/0.7879, allocations: 383.6 kB / 0.732 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.7911, allocations: 1.572 MB / 0.7335 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.7918, allocations: 292.5 kB / 0.7338 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.7919, allocations: 10.53 kB / 0.7338 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.792, allocations: 37.44 kB / 0.7338 GB, free: 13.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.792, allocations: 0 / 0.7338 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=41): time 0.004618/0.7966, allocations: 1.838 MB / 0.7356 GB, free: 13.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.7967, allocations: 62.62 kB / 0.7357 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.7971, allocations: 315.4 kB / 0.736 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.7972, allocations: 36.67 kB / 0.736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.7974, allocations: 196.4 kB / 0.7362 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.7975, allocations: 141.5 kB / 0.7364 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.7975, allocations: 9.469 kB / 0.7364 GB, free: 12.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.7977, allocations: 346.5 kB / 0.7367 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.798, allocations: 166.4 kB / 0.7369 GB, free: 12.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.7983, allocations: 212.2 kB / 0.7371 GB, free: 12.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.7986, allocations: 193.7 kB / 0.7372 GB, free: 12.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7986, allocations: 0 / 0.7372 GB, free: 12.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009605/0.7996, allocations: 0.5444 MB / 0.7378 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.7996, allocations: 7.094 kB / 0.7378 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7996, allocations: 2.25 kB / 0.7378 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.7999, allocations: 95.16 kB / 0.7379 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.8006, allocations: 122.7 kB / 0.738 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.8046, allocations: 4.183 MB / 0.7421 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.8052, allocations: 40.52 kB / 0.7421 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.8052, allocations: 16.3 kB / 0.7421 GB, free: 8.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003822/0.8056, allocations: 194 kB / 0.7423 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.8057, allocations: 40.59 kB / 0.7424 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.8058, allocations: 52.48 kB / 0.7424 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8058, allocations: 2.438 kB / 0.7424 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.8059, allocations: 3.828 kB / 0.7424 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008161/0.8067, allocations: 0.6465 MB / 0.743 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.8083, allocations: 1.132 MB / 0.7441 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.8084, allocations: 0 / 0.7441 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.8091, allocations: 121.5 kB / 0.7443 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.8093, allocations: 58.42 kB / 0.7443 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.8093, allocations: 15.42 kB / 0.7443 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.8109, allocations: 1.571 MB / 0.7459 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8109, allocations: 10.58 kB / 0.7459 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.8122, allocations: 0.8202 MB / 0.7467 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.8126, allocations: 171.9 kB / 0.7468 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.8126, allocations: 11.28 kB / 0.7469 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.8131, allocations: 44.08 kB / 0.7469 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.8132, allocations: 23.53 kB / 0.7469 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.8132, allocations: 27.41 kB / 0.7469 GB, free: 5.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002897/0.8135, allocations: 230.4 kB / 0.7472 GB, free: 5.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8135, allocations: 1.781 kB / 0.7472 GB, free: 5.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000698/0.8142, allocations: 138.2 kB / 0.7473 GB, free: 5.301 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002058/0.8144, allocations: 117.3 kB / 0.7474 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.8156, allocations: 0.7416 MB / 0.7481 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8156, allocations: 1.875 kB / 0.7481 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.8161, allocations: 325 kB / 0.7484 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.8173, allocations: 235.9 kB / 0.7487 GB, free: 4.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.8195, allocations: 1.313 MB / 0.75 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.8199, allocations: 0.8338 MB / 0.7508 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004295/0.8204, allocations: 97.98 kB / 0.7509 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.8205, allocations: 36.06 kB / 0.7509 GB, free: 2.953 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.8205, allocations: 0 / 0.7509 GB, free: 2.953 MB / 0.545 GB Notification: Performance of Templates: time 0.01414/0.8346, allocations: 8.981 MB / 0.7597 GB, free: 14.53 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: