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.1787/0.1794, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.604/0.7834, allocations: 156.9 MB / 0.7473 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.7872, allocations: 2.357 MB / 0.7496 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.7876, allocations: 3.406 kB / 0.7496 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008269/0.7884, allocations: 233.8 kB / 0.7498 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.7896, allocations: 412.3 kB / 0.7502 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.7905, allocations: 320 kB / 0.7505 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.7925, allocations: 1.607 MB / 0.7521 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.7928, allocations: 100.3 kB / 0.7522 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.7945, allocations: 0.497 MB / 0.7527 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.7951, allocations: 396.3 kB / 0.7531 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.7952, allocations: 23.88 kB / 0.7531 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.7954, allocations: 34.42 kB / 0.7531 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.7956, allocations: 177 kB / 0.7533 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.796, allocations: 271.1 kB / 0.7535 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.7967, allocations: 0.6663 MB / 0.7542 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7967, allocations: 5.094 kB / 0.7542 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7967, allocations: 0 / 0.7542 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7967, allocations: 0 / 0.7542 GB, free: 13.06 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.001376/0.7981, allocations: 0.633 MB / 0.7548 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7982, allocations: 9.625 kB / 0.7548 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.7985, allocations: 54.77 kB / 0.7549 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.799, allocations: 331.8 kB / 0.7552 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.799, allocations: 27.5 kB / 0.7552 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.7991, allocations: 36.75 kB / 0.7553 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.7998, allocations: 404.1 kB / 0.7556 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.7999, allocations: 5.797 kB / 0.7556 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.7999, allocations: 19.34 kB / 0.7557 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.7999, allocations: 13.27 kB / 0.7557 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.8006, allocations: 390.7 kB / 0.7561 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.8029, allocations: 1.571 MB / 0.7576 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.8033, allocations: 285.9 kB / 0.7579 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.8036, allocations: 156.5 kB / 0.758 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.8036, allocations: 11.11 kB / 0.758 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.8036, allocations: 39.25 kB / 0.7581 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.8036, allocations: 0 / 0.7581 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=41): time 0.004291/0.8079, allocations: 1.852 MB / 0.7599 GB, free: 9.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.808, allocations: 62.7 kB / 0.7599 GB, free: 9.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.8083, allocations: 321.2 kB / 0.7602 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.8084, allocations: 36.58 kB / 0.7603 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.8085, allocations: 194.7 kB / 0.7605 GB, free: 9.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.8086, allocations: 145.7 kB / 0.7606 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.8087, allocations: 39.48 kB / 0.7606 GB, free: 9.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8088, allocations: 349 kB / 0.761 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.8091, allocations: 165.3 kB / 0.7611 GB, free: 9.102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.8094, allocations: 209.5 kB / 0.7613 GB, free: 9.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/0.81, allocations: 399.5 kB / 0.7617 GB, free: 8.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.81, allocations: 4 kB / 0.7617 GB, free: 8.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008388/0.8108, allocations: 0.5437 MB / 0.7622 GB, free: 8.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8109, allocations: 9.828 kB / 0.7622 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.8109, allocations: 2.844 kB / 0.7622 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.8111, allocations: 96.72 kB / 0.7623 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.8118, allocations: 114.2 kB / 0.7624 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.8158, allocations: 4.173 MB / 0.7665 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.8165, allocations: 39.91 kB / 0.7666 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.8165, allocations: 14.56 kB / 0.7666 GB, free: 4.762 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.0003503/0.8169, allocations: 186.8 kB / 0.7668 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.817, allocations: 37.03 kB / 0.7668 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.8171, allocations: 51.92 kB / 0.7668 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8171, allocations: 5.938 kB / 0.7668 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.8171, allocations: 4 kB / 0.7668 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009212/0.8181, allocations: 0.6474 MB / 0.7675 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.8198, allocations: 1.137 MB / 0.7686 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8198, allocations: 0 / 0.7686 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.8204, allocations: 116.4 kB / 0.7687 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.8206, allocations: 56.78 kB / 0.7688 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.8207, allocations: 23.2 kB / 0.7688 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.8221, allocations: 1.557 MB / 0.7703 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8221, allocations: 7.25 kB / 0.7703 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.8232, allocations: 0.7752 MB / 0.7711 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.8234, allocations: 165.5 kB / 0.7712 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.8235, allocations: 13.41 kB / 0.7712 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.8239, allocations: 35.25 kB / 0.7713 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.824, allocations: 28.83 kB / 0.7713 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.8241, allocations: 21.8 kB / 0.7713 GB, free: 1.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002345/0.8243, allocations: 233.2 kB / 0.7715 GB, free: 1.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8243, allocations: 1.969 kB / 0.7715 GB, free: 1.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006129/0.8249, allocations: 136.4 kB / 0.7717 GB, free: 1.633 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.0001958/0.8251, allocations: 120.2 kB / 0.7718 GB, free: 1.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.8264, allocations: 0.739 MB / 0.7725 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8264, allocations: 6.281 kB / 0.7725 GB, free: 1.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.8269, allocations: 325.9 kB / 0.7728 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.8283, allocations: 248.7 kB / 0.7731 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.8307, allocations: 1.359 MB / 0.7744 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.8313, allocations: 0.8405 MB / 0.7752 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004758/0.8318, allocations: 95.95 kB / 0.7753 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.8319, allocations: 38.88 kB / 0.7753 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.8319, allocations: 0 / 0.7753 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.01878/0.8507, allocations: 9.299 MB / 0.7844 GB, free: 10.69 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: