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.2479/0.2512, allocations: 80.84 MB / 0.6707 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.7394/0.9907, allocations: 161.2 MB / 0.8281 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.995, allocations: 2.388 MB / 0.8304 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.9954, allocations: 8.156 kB / 0.8304 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.9963, allocations: 259.6 kB / 0.8307 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.9973, allocations: 429.1 kB / 0.8311 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.9982, allocations: 340.7 kB / 0.8314 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.9993, allocations: 1.058 MB / 0.8325 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.9996, allocations: 133.1 kB / 0.8326 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/1.001, allocations: 0.5799 MB / 0.8331 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/1.001, allocations: 375.1 kB / 0.8335 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/1.001, allocations: 48.31 kB / 0.8336 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/1.002, allocations: 52.53 kB / 0.8336 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/1.002, allocations: 212.9 kB / 0.8338 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/1.002, allocations: 281.6 kB / 0.8341 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008421/1.003, allocations: 0.7001 MB / 0.8348 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.003, allocations: 2.031 kB / 0.8348 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/1.003, allocations: 0 / 0.8348 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.313e-05/1.003, allocations: 0 / 0.8348 GB, free: 11.29 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.001647/1.005, allocations: 0.7269 MB / 0.8355 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/1.005, allocations: 7.812 kB / 0.8355 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/1.005, allocations: 64.64 kB / 0.8355 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/1.006, allocations: 335.7 kB / 0.8359 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.006, allocations: 28.22 kB / 0.8359 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/1.006, allocations: 38.84 kB / 0.8359 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/1.007, allocations: 409 kB / 0.8363 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.007, allocations: 7.844 kB / 0.8363 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/1.007, allocations: 16.94 kB / 0.8363 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.007, allocations: 7.438 kB / 0.8363 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/1.008, allocations: 385.4 kB / 0.8367 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/1.01, allocations: 1.578 MB / 0.8383 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/1.011, allocations: 276.6 kB / 0.8385 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/1.011, allocations: 153.7 kB / 0.8387 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/1.011, allocations: 12.81 kB / 0.8387 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.011, allocations: 45.44 kB / 0.8387 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/1.011, allocations: 0 / 0.8387 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.004683/1.016, allocations: 1.836 MB / 0.8405 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.016, allocations: 60.41 kB / 0.8406 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/1.016, allocations: 317 kB / 0.8409 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/1.016, allocations: 38.83 kB / 0.8409 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/1.016, allocations: 191.4 kB / 0.8411 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/1.017, allocations: 143.4 kB / 0.8412 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.017, allocations: 82.64 kB / 0.8413 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.017, allocations: 354.7 kB / 0.8416 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/1.017, allocations: 161.5 kB / 0.8418 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/1.017, allocations: 213.4 kB / 0.842 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/1.018, allocations: 402.5 kB / 0.8424 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.018, allocations: 0 / 0.8424 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001025/1.019, allocations: 0.5538 MB / 0.8429 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.019, allocations: 4.719 kB / 0.8429 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.019, allocations: 0 / 0.8429 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/1.019, allocations: 95.23 kB / 0.843 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/1.02, allocations: 111.7 kB / 0.8431 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/1.024, allocations: 4.546 MB / 0.8476 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/1.025, allocations: 12.44 kB / 0.8476 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/1.025, allocations: 14.78 kB / 0.8476 GB, free: 484 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.0003328/1.025, allocations: 181.3 kB / 0.8478 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/1.025, allocations: 39.38 kB / 0.8478 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/1.026, allocations: 57.52 kB / 0.8479 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.026, allocations: 6.312 kB / 0.8479 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.026, allocations: 0 / 0.8479 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/1.027, allocations: 0.6663 MB / 0.8485 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/1.028, allocations: 1.134 MB / 0.8496 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.028, allocations: 3.938 kB / 0.8496 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/1.029, allocations: 113.3 kB / 0.8497 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/1.029, allocations: 62.09 kB / 0.8498 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/1.029, allocations: 8.906 kB / 0.8498 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/1.031, allocations: 1.74 MB / 0.8515 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.031, allocations: 0 / 0.8515 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/1.033, allocations: 0.763 MB / 0.8522 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/1.033, allocations: 166.3 kB / 0.8524 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/1.033, allocations: 13.45 kB / 0.8524 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/1.033, allocations: 22.11 kB / 0.8524 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/1.034, allocations: 32.75 kB / 0.8525 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/1.034, allocations: 20.17 kB / 0.8525 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002975/1.034, allocations: 234.1 kB / 0.8527 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/1.034, allocations: 0 / 0.8527 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006597/1.035, allocations: 127.8 kB / 0.8528 GB, free: 12.19 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.0002398/1.035, allocations: 122.5 kB / 0.853 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.036, allocations: 0.7617 MB / 0.8537 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.036, allocations: 0 / 0.8537 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/1.037, allocations: 329.9 kB / 0.854 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.038, allocations: 258 kB / 0.8543 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/1.04, allocations: 1.111 MB / 0.8553 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/1.041, allocations: 0.8366 MB / 0.8562 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004246/1.041, allocations: 94.3 kB / 0.8562 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.042, allocations: 44.7 kB / 0.8563 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/1.042, allocations: 2.875 kB / 0.8563 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of Templates: time 0.01891/1.06, allocations: 9.896 MB / 0.866 GB, free: 1.059 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)