Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.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.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") translateModel(Buildings.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") [/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.2424/0.2446, allocations: 80.83 MB / 0.6707 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTestImplementation): time 0.8067/1.051, allocations: 165.3 MB / 0.8321 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003996/1.055, allocations: 2.547 MB / 0.8346 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/1.056, allocations: 4 kB / 0.8346 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/1.057, allocations: 250.6 kB / 0.8348 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/1.058, allocations: 449.7 kB / 0.8352 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/1.059, allocations: 341.8 kB / 0.8356 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001309/1.06, allocations: 1.04 MB / 0.8366 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/1.061, allocations: 141.5 kB / 0.8367 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/1.062, allocations: 0.6962 MB / 0.8374 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/1.063, allocations: 366.7 kB / 0.8377 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/1.063, allocations: 52 kB / 0.8378 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/1.063, allocations: 59.94 kB / 0.8378 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/1.063, allocations: 203.5 kB / 0.838 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/1.063, allocations: 274.9 kB / 0.8383 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000842/1.064, allocations: 0.6835 MB / 0.839 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.064, allocations: 0 / 0.839 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.334e-06/1.064, allocations: 0 / 0.839 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.788e-06/1.064, allocations: 0 / 0.839 GB, free: 6.117 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0014/1.066, allocations: 0.7325 MB / 0.8397 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.066, allocations: 12.03 kB / 0.8397 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/1.066, allocations: 61.2 kB / 0.8398 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/1.067, allocations: 338.1 kB / 0.8401 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/1.067, allocations: 29 kB / 0.8401 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/1.067, allocations: 36 kB / 0.8401 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/1.068, allocations: 407 kB / 0.8405 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.068, allocations: 3.938 kB / 0.8405 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/1.068, allocations: 23.98 kB / 0.8406 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.068, allocations: 8 kB / 0.8406 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/1.068, allocations: 347.8 kB / 0.8409 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/1.071, allocations: 1.554 MB / 0.8424 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/1.072, allocations: 298.5 kB / 0.8427 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/1.072, allocations: 153.4 kB / 0.8428 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/1.072, allocations: 8.266 kB / 0.8429 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.072, allocations: 46.72 kB / 0.8429 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/1.072, allocations: 0 / 0.8429 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.003186/1.075, allocations: 1.447 MB / 0.8443 GB, free: 308 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.075, allocations: 55.41 kB / 0.8444 GB, free: 240 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/1.076, allocations: 314.9 kB / 0.8447 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/1.076, allocations: 33.7 kB / 0.8447 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/1.076, allocations: 192.8 kB / 0.8449 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.076, allocations: 150.7 kB / 0.845 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.076, allocations: 78.08 kB / 0.8451 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.076, allocations: 342.8 kB / 0.8454 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/1.077, allocations: 144.8 kB / 0.8456 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/1.077, allocations: 194.4 kB / 0.8457 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/1.077, allocations: 362.8 kB / 0.8461 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.077, allocations: 0 / 0.8461 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000765/1.078, allocations: 459.3 kB / 0.8465 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.078, allocations: 11.94 kB / 0.8465 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.078, allocations: 4.125 kB / 0.8465 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/1.078, allocations: 45.69 kB / 0.8466 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.079, allocations: 83.91 kB / 0.8467 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/1.081, allocations: 2.837 MB / 0.8494 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/1.082, allocations: 12 kB / 0.8495 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/1.082, allocations: 9.25 kB / 0.8495 GB, free: 10.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003781/1.082, allocations: 194.8 kB / 0.8496 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/1.082, allocations: 39.81 kB / 0.8497 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.082, allocations: 47.03 kB / 0.8497 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.082, allocations: 4 kB / 0.8497 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.082, allocations: 0 / 0.8497 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007483/1.083, allocations: 0.5882 MB / 0.8503 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/1.085, allocations: 1.055 MB / 0.8513 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.085, allocations: 0 / 0.8513 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/1.085, allocations: 91.89 kB / 0.8514 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.085, allocations: 0 / 0.8514 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/1.085, allocations: 21.11 kB / 0.8514 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/1.085, allocations: 0 / 0.8514 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.085, allocations: 4 kB / 0.8514 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/1.086, allocations: 0.6738 MB / 0.8521 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.087, allocations: 164.9 kB / 0.8523 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/1.087, allocations: 8 kB / 0.8523 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/1.087, allocations: 28.06 kB / 0.8523 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/1.087, allocations: 19.97 kB / 0.8523 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/1.087, allocations: 27.66 kB / 0.8523 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002771/1.087, allocations: 225.9 kB / 0.8526 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/1.087, allocations: 0 / 0.8526 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004849/1.088, allocations: 123.9 kB / 0.8527 GB, free: 7.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * 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): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002267/1.088, allocations: 123.8 kB / 0.8528 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.089, allocations: 0.5751 MB / 0.8534 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.089, allocations: 0 / 0.8534 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/1.089, allocations: 180.2 kB / 0.8535 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.091, allocations: 242.2 kB / 0.8538 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.093, allocations: 1.055 MB / 0.8548 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/1.094, allocations: 0.8197 MB / 0.8556 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000444/1.094, allocations: 103.2 kB / 0.8557 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.094, allocations: 43.42 kB / 0.8557 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/1.094, allocations: 0 / 0.8557 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of Templates: time 0.01849/1.113, allocations: 9.208 MB / 0.8647 GB, free: 10.8 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe 2>&1)