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.2461/0.247, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.7104/0.9574, allocations: 146.3 MB / 0.7364 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.9614, allocations: 2.249 MB / 0.7386 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.962, allocations: 13.03 kB / 0.7386 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.9628, allocations: 167.7 kB / 0.7387 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.9643, allocations: 399.6 kB / 0.7391 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.9653, allocations: 260 kB / 0.7394 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002103/0.9674, allocations: 1.317 MB / 0.7407 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.9677, allocations: 98.11 kB / 0.7408 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.9692, allocations: 0.4892 MB / 0.7412 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.9699, allocations: 375.9 kB / 0.7416 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.9699, allocations: 22.88 kB / 0.7416 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.9701, allocations: 28.53 kB / 0.7416 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.9704, allocations: 185.3 kB / 0.7418 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.9706, allocations: 118.9 kB / 0.7419 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007203/0.9713, allocations: 0.5407 MB / 0.7425 GB, free: 15.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.9713, allocations: 3.25 kB / 0.7425 GB, free: 15.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9713, allocations: 0 / 0.7425 GB, free: 15.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.9713, allocations: 4 kB / 0.7425 GB, free: 15.5 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.001378/0.9727, allocations: 0.6348 MB / 0.7431 GB, free: 15.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.9728, allocations: 13.41 kB / 0.7431 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.9732, allocations: 54 kB / 0.7432 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.9739, allocations: 322.4 kB / 0.7435 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.974, allocations: 27.16 kB / 0.7435 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.9741, allocations: 42.2 kB / 0.7435 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.975, allocations: 400.3 kB / 0.7439 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.9751, allocations: 0.9688 kB / 0.7439 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.9751, allocations: 14.31 kB / 0.7439 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.9752, allocations: 10.36 kB / 0.7439 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.9759, allocations: 389.9 kB / 0.7443 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.9785, allocations: 1.579 MB / 0.7458 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.979, allocations: 286 kB / 0.7461 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.9793, allocations: 152.5 kB / 0.7463 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.9793, allocations: 6.328 kB / 0.7463 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.9794, allocations: 43.66 kB / 0.7463 GB, free: 13.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.9794, allocations: 1.859 kB / 0.7463 GB, free: 13.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=41): time 0.004492/0.9839, allocations: 1.839 MB / 0.7481 GB, free: 12.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.9839, allocations: 59.77 kB / 0.7482 GB, free: 12.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.9844, allocations: 322.9 kB / 0.7485 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.9844, allocations: 33.64 kB / 0.7485 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.9846, allocations: 192.2 kB / 0.7487 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.9847, allocations: 145.5 kB / 0.7488 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.9848, allocations: 11.56 kB / 0.7488 GB, free: 12.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00033/0.9851, allocations: 349.8 kB / 0.7492 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.9854, allocations: 159.5 kB / 0.7493 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.9859, allocations: 213.7 kB / 0.7495 GB, free: 12.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.9863, allocations: 199.1 kB / 0.7497 GB, free: 12.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9863, allocations: 5.281 kB / 0.7497 GB, free: 12.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.9873, allocations: 0.5359 MB / 0.7502 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.9874, allocations: 7 kB / 0.7503 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9874, allocations: 3.938 kB / 0.7503 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.9877, allocations: 100.1 kB / 0.7504 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.9884, allocations: 114.9 kB / 0.7505 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.9922, allocations: 4.172 MB / 0.7545 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.9927, allocations: 33.67 kB / 0.7546 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.9927, allocations: 16.36 kB / 0.7546 GB, free: 7.852 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.0003279/0.9931, allocations: 189.8 kB / 0.7548 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.9932, allocations: 38.22 kB / 0.7548 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.9933, allocations: 51.36 kB / 0.7549 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9933, allocations: 4.656 kB / 0.7549 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.9933, allocations: 4 kB / 0.7549 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008656/0.9942, allocations: 0.654 MB / 0.7555 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.996, allocations: 1.134 MB / 0.7566 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.996, allocations: 0 / 0.7566 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.9967, allocations: 121.8 kB / 0.7567 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.9969, allocations: 58.34 kB / 0.7568 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.9969, allocations: 11.03 kB / 0.7568 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.9984, allocations: 1.559 MB / 0.7583 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.9984, allocations: 4.828 kB / 0.7583 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.9995, allocations: 0.7692 MB / 0.7591 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.9998, allocations: 167.3 kB / 0.7592 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.9999, allocations: 13.55 kB / 0.7592 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/1, allocations: 37.98 kB / 0.7593 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/1, allocations: 34.3 kB / 0.7593 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/1, allocations: 20.55 kB / 0.7593 GB, free: 4.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002439/1.001, allocations: 232.5 kB / 0.7596 GB, free: 4.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/1.001, allocations: 0 / 0.7596 GB, free: 4.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006381/1.001, allocations: 130.6 kB / 0.7597 GB, free: 4.723 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.0001987/1.001, allocations: 123.8 kB / 0.7598 GB, free: 4.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.003, allocations: 0.7338 MB / 0.7605 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.003, allocations: 5.938 kB / 0.7605 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004676/1.003, allocations: 332.6 kB / 0.7608 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/1.004, allocations: 249 kB / 0.7611 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/1.007, allocations: 1.316 MB / 0.7624 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.007, allocations: 0.8268 MB / 0.7632 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004669/1.008, allocations: 97.7 kB / 0.7633 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.008, allocations: 38.98 kB / 0.7633 GB, free: 2.363 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.008, allocations: 0 / 0.7633 GB, free: 2.363 MB / 0.545 GB Notification: Performance of Templates: time 0.01646/1.024, allocations: 8.981 MB / 0.7721 GB, free: 13.94 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: