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.1802/0.1823, allocations: 80.82 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.7019/0.8842, allocations: 161.2 MB / 0.8281 GB, free: 16 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.8872, allocations: 2.387 MB / 0.8304 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.8875, allocations: 2.875 kB / 0.8304 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.8882, allocations: 262 kB / 0.8307 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007713/0.889, allocations: 437.6 kB / 0.8311 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.8897, allocations: 338.4 kB / 0.8314 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.8908, allocations: 1.058 MB / 0.8325 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.891, allocations: 129.2 kB / 0.8326 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.892, allocations: 0.5928 MB / 0.8332 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.8925, allocations: 372.7 kB / 0.8335 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.8926, allocations: 47.66 kB / 0.8336 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.8928, allocations: 60.45 kB / 0.8336 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.893, allocations: 209.2 kB / 0.8338 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.8932, allocations: 280.3 kB / 0.8341 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.8939, allocations: 0.7036 MB / 0.8348 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8939, allocations: 0 / 0.8348 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8939, allocations: 4 kB / 0.8348 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.8939, allocations: 0 / 0.8348 GB, free: 11.22 MB / 0.6075 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.001247/0.8951, allocations: 0.7264 MB / 0.8355 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8952, allocations: 10.12 kB / 0.8355 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.8955, allocations: 65.36 kB / 0.8356 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.896, allocations: 324 kB / 0.8359 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.896, allocations: 31.52 kB / 0.8359 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.8961, allocations: 37.62 kB / 0.8359 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.8968, allocations: 407.4 kB / 0.8363 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.8968, allocations: 7.844 kB / 0.8363 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.8969, allocations: 22.7 kB / 0.8363 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.8969, allocations: 11.83 kB / 0.8364 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.8974, allocations: 386.4 kB / 0.8367 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.8997, allocations: 1.56 MB / 0.8383 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.9003, allocations: 289.9 kB / 0.8385 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.9006, allocations: 158.3 kB / 0.8387 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.9006, allocations: 7.203 kB / 0.8387 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.9007, allocations: 39.41 kB / 0.8387 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.9007, allocations: 4 kB / 0.8387 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.004399/0.9051, allocations: 1.841 MB / 0.8405 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.9052, allocations: 61.52 kB / 0.8406 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.9055, allocations: 319.5 kB / 0.8409 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.9055, allocations: 32.33 kB / 0.8409 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9057, allocations: 196 kB / 0.8411 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.9058, allocations: 139.1 kB / 0.8412 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.9059, allocations: 82.66 kB / 0.8413 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.906, allocations: 346.8 kB / 0.8416 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.9063, allocations: 171.6 kB / 0.8418 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.9066, allocations: 217.3 kB / 0.842 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.9072, allocations: 390.7 kB / 0.8424 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.9072, allocations: 0 / 0.8424 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009373/0.9081, allocations: 0.55 MB / 0.8429 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.9082, allocations: 5.344 kB / 0.8429 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9082, allocations: 2.562 kB / 0.8429 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.9085, allocations: 98.88 kB / 0.843 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.9092, allocations: 112.2 kB / 0.8431 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.9127, allocations: 4.564 MB / 0.8476 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.913, allocations: 10.56 kB / 0.8476 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.913, allocations: 18.41 kB / 0.8476 GB, free: 404 kB / 0.6075 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.0002416/0.9133, allocations: 177.1 kB / 0.8478 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.9134, allocations: 39.69 kB / 0.8478 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.9135, allocations: 57.42 kB / 0.8479 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9135, allocations: 2.5 kB / 0.8479 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9135, allocations: 2.562 kB / 0.8479 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008603/0.9144, allocations: 0.6544 MB / 0.8485 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.9163, allocations: 1.135 MB / 0.8496 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9163, allocations: 4.094 kB / 0.8496 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.917, allocations: 121.7 kB / 0.8498 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.9172, allocations: 53.56 kB / 0.8498 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.9172, allocations: 16.7 kB / 0.8498 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.9187, allocations: 1.729 MB / 0.8515 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9187, allocations: 0 / 0.8515 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.9199, allocations: 0.7727 MB / 0.8523 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.9202, allocations: 167.3 kB / 0.8524 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.9203, allocations: 12.66 kB / 0.8524 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.9206, allocations: 19.52 kB / 0.8525 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.9207, allocations: 39.23 kB / 0.8525 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.9208, allocations: 20.39 kB / 0.8525 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002568/0.921, allocations: 231.6 kB / 0.8527 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9211, allocations: 0 / 0.8527 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005851/0.9216, allocations: 129.7 kB / 0.8529 GB, free: 12.11 MB / 0.6231 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.0002077/0.9219, allocations: 118.1 kB / 0.853 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.9232, allocations: 0.7572 MB / 0.8537 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9233, allocations: 0 / 0.8537 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.9238, allocations: 338.5 kB / 0.854 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.9251, allocations: 237.2 kB / 0.8543 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.9275, allocations: 1.12 MB / 0.8554 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.928, allocations: 0.8287 MB / 0.8562 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000555/0.9286, allocations: 95.95 kB / 0.8563 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.9287, allocations: 34.84 kB / 0.8563 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of SimCode: time 3.286e-06/0.9287, allocations: 7.938 kB / 0.8563 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of Templates: time 0.01837/0.9471, allocations: 10.04 MB / 0.8661 GB, free: 0.7109 MB / 0.6231 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)