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.2041/0.2059, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.6746/0.8806, allocations: 158.9 MB / 0.7449 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.8844, allocations: 2.386 MB / 0.7472 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.8847, allocations: 6.188 kB / 0.7472 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000834/0.8856, allocations: 224 kB / 0.7475 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.8867, allocations: 420.6 kB / 0.7479 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.8876, allocations: 315 kB / 0.7482 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.8895, allocations: 1.606 MB / 0.7497 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.8897, allocations: 107.7 kB / 0.7498 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.8911, allocations: 0.5052 MB / 0.7503 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.8919, allocations: 402.2 kB / 0.7507 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.8921, allocations: 26 kB / 0.7507 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.8923, allocations: 34.14 kB / 0.7508 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.8926, allocations: 186 kB / 0.7509 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.8931, allocations: 252 kB / 0.7512 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009044/0.894, allocations: 0.6778 MB / 0.7518 GB, free: 12.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.894, allocations: 6.672 kB / 0.7518 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.894, allocations: 0 / 0.7518 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.894, allocations: 0 / 0.7518 GB, free: 12.89 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.001732/0.8958, allocations: 0.7242 MB / 0.7526 GB, free: 12.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/0.8958, allocations: 13.62 kB / 0.7526 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.8962, allocations: 53.77 kB / 0.7526 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.8969, allocations: 327.6 kB / 0.7529 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.8969, allocations: 30.12 kB / 0.753 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.897, allocations: 32.62 kB / 0.753 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.8978, allocations: 407.6 kB / 0.7534 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.8978, allocations: 3.938 kB / 0.7534 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.8979, allocations: 19 kB / 0.7534 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.8979, allocations: 7.531 kB / 0.7534 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.8986, allocations: 386.3 kB / 0.7538 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.901, allocations: 1.574 MB / 0.7553 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.9014, allocations: 289.5 kB / 0.7556 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.9017, allocations: 154.9 kB / 0.7557 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.9017, allocations: 5.594 kB / 0.7557 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.9018, allocations: 36.62 kB / 0.7558 GB, free: 10.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.9018, allocations: 0 / 0.7558 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=41): time 0.004512/0.9063, allocations: 1.831 MB / 0.7576 GB, free: 9.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.9065, allocations: 64 kB / 0.7576 GB, free: 9.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.9069, allocations: 331.9 kB / 0.7579 GB, free: 9.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.907, allocations: 35.39 kB / 0.758 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.9072, allocations: 185.9 kB / 0.7582 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.9073, allocations: 150.7 kB / 0.7583 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.9074, allocations: 81.47 kB / 0.7584 GB, free: 9.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9076, allocations: 343.9 kB / 0.7587 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.9079, allocations: 167.5 kB / 0.7589 GB, free: 8.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.9082, allocations: 217.2 kB / 0.7591 GB, free: 8.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.9087, allocations: 399.9 kB / 0.7594 GB, free: 8.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9088, allocations: 0 / 0.7594 GB, free: 8.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009181/0.9097, allocations: 0.5489 MB / 0.76 GB, free: 8.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9097, allocations: 9.672 kB / 0.76 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9097, allocations: 0 / 0.76 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/0.91, allocations: 90.97 kB / 0.7601 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.9107, allocations: 123.7 kB / 0.7602 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.915, allocations: 4.174 MB / 0.7643 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.9155, allocations: 36.12 kB / 0.7643 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.9155, allocations: 13.78 kB / 0.7643 GB, free: 4.574 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.000338/0.9159, allocations: 188.6 kB / 0.7645 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.916, allocations: 39.23 kB / 0.7645 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.9161, allocations: 48.12 kB / 0.7646 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9161, allocations: 2.719 kB / 0.7646 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9161, allocations: 6.547 kB / 0.7646 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009141/0.917, allocations: 0.6557 MB / 0.7652 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.9188, allocations: 1.128 MB / 0.7663 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9189, allocations: 4.031 kB / 0.7663 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.9196, allocations: 113.9 kB / 0.7664 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.9198, allocations: 55.72 kB / 0.7665 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.9199, allocations: 15.64 kB / 0.7665 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.9215, allocations: 1.577 MB / 0.7681 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9215, allocations: 3.156 kB / 0.7681 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.9228, allocations: 0.767 MB / 0.7688 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.9232, allocations: 174.7 kB / 0.769 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.9232, allocations: 15.52 kB / 0.769 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.9237, allocations: 30.33 kB / 0.769 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.9238, allocations: 27.8 kB / 0.769 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.9239, allocations: 23.8 kB / 0.7691 GB, free: 1.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002994/0.9242, allocations: 234.7 kB / 0.7693 GB, free: 1.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9242, allocations: 0 / 0.7693 GB, free: 1.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006867/0.9249, allocations: 135.7 kB / 0.7694 GB, free: 1.434 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.0002103/0.9251, allocations: 119.6 kB / 0.7695 GB, free: 1.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.9263, allocations: 0.743 MB / 0.7703 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9263, allocations: 2.906 kB / 0.7703 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.9269, allocations: 331.5 kB / 0.7706 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.9282, allocations: 236.8 kB / 0.7708 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.931, allocations: 1.283 MB / 0.7721 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.9317, allocations: 0.8233 MB / 0.7729 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005544/0.9323, allocations: 96.14 kB / 0.773 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.9324, allocations: 38.12 kB / 0.773 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.9324, allocations: 0 / 0.773 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.01797/0.9504, allocations: 9.361 MB / 0.7821 GB, free: 10.56 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)