Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.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.Rooms.BaseClasses.Examples.MixedAirHeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain") translateModel(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain") [/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.2374/0.2394, allocations: 80.83 MB / 0.6706 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain): time 0.7604/0.9998, allocations: 180.7 MB / 0.8471 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009213/1.009, allocations: 6.055 MB / 0.853 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/1.01, allocations: 23.88 kB / 0.8531 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/1.011, allocations: 389.6 kB / 0.8534 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/1.015, allocations: 1.349 MB / 0.8548 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/1.018, allocations: 1.104 MB / 0.8558 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002712/1.02, allocations: 1.989 MB / 0.8578 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/1.021, allocations: 0.6823 MB / 0.8584 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/1.023, allocations: 0.837 MB / 0.8593 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/1.024, allocations: 0.6472 MB / 0.8599 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/1.025, allocations: 80 kB / 0.86 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/1.028, allocations: 1.36 MB / 0.8613 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/1.028, allocations: 331.1 kB / 0.8616 GB, free: 15 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005972/1.029, allocations: 478 kB / 0.8621 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002848/1.032, allocations: 1.697 MB / 0.8637 GB, free: 12.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.032, allocations: 4 kB / 0.8637 GB, free: 12.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/1.032, allocations: 0 / 0.8637 GB, free: 12.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.032, allocations: 0 / 0.8637 GB, free: 12.84 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002091/1.034, allocations: 1.28 MB / 0.865 GB, free: 11.49 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.034, allocations: 8.031 kB / 0.865 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/1.036, allocations: 262.7 kB / 0.8652 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/1.037, allocations: 0.595 MB / 0.8658 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.037, allocations: 108.7 kB / 0.8659 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/1.037, allocations: 67.94 kB / 0.866 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.038, allocations: 0.7207 MB / 0.8667 GB, free: 9.652 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/1.038, allocations: 8 kB / 0.8667 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/1.038, allocations: 27.98 kB / 0.8667 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/1.038, allocations: 29.19 kB / 0.8668 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/1.039, allocations: 0.5516 MB / 0.8673 GB, free: 9.035 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/1.043, allocations: 2.696 MB / 0.8699 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/1.044, allocations: 432.8 kB / 0.8703 GB, free: 5.727 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/1.044, allocations: 205.3 kB / 0.8705 GB, free: 5.523 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/1.045, allocations: 234.4 kB / 0.8708 GB, free: 5.258 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/1.045, allocations: 38.84 kB / 0.8708 GB, free: 5.211 MB / 0.67 GB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/1.045, allocations: 0 / 0.8708 GB, free: 5.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=36): time 0.002505/1.047, allocations: 1.268 MB / 0.872 GB, free: 3.891 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/1.048, allocations: 59.2 kB / 0.8721 GB, free: 3.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/1.048, allocations: 0.6289 MB / 0.8727 GB, free: 3.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/1.048, allocations: 41.64 kB / 0.8727 GB, free: 3.133 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/1.049, allocations: 340.2 kB / 0.8731 GB, free: 2.793 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.049, allocations: 126.2 kB / 0.8732 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/1.049, allocations: 110.2 kB / 0.8733 GB, free: 2.555 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.049, allocations: 370.8 kB / 0.8736 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/1.05, allocations: 208.9 kB / 0.8738 GB, free: 1.977 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/1.05, allocations: 323.7 kB / 0.8742 GB, free: 1.617 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (boundary.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009544/1.06, allocations: 2.33 MB / 0.8764 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.06, allocations: 0 / 0.8764 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001284/1.061, allocations: 0.7305 MB / 0.8771 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/1.061, allocations: 89.09 kB / 0.8772 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.061, allocations: 4 kB / 0.8772 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.061, allocations: 8.875 kB / 0.8772 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/1.061, allocations: 107.8 kB / 0.8773 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.061, allocations: 7.938 kB / 0.8774 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/1.062, allocations: 20.44 kB / 0.8774 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/1.062, allocations: 27.98 kB / 0.8774 GB, free: 14.14 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (QLat_flow.i_x,QSen_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 3 * 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 prepare postOptimizeDAE: time 0.0004618/1.063, allocations: 247.1 kB / 0.8776 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.063, allocations: 63.25 kB / 0.8777 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009638/1.064, allocations: 483.8 kB / 0.8782 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.064, allocations: 7.938 kB / 0.8782 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.064, allocations: 0 / 0.8782 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006073/1.064, allocations: 472.1 kB / 0.8786 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/1.067, allocations: 1.366 MB / 0.8799 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.067, allocations: 4 kB / 0.8799 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/1.067, allocations: 79.91 kB / 0.88 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.067, allocations: 4 kB / 0.88 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/1.067, allocations: 12 kB / 0.88 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.067, allocations: 11.92 kB / 0.8801 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.067, allocations: 3.984 kB / 0.8801 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.068, allocations: 0.8371 MB / 0.8809 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/1.069, allocations: 200.3 kB / 0.8811 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.069, allocations: 15.98 kB / 0.8811 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.07, allocations: 19.98 kB / 0.8811 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/1.07, allocations: 35.91 kB / 0.8811 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/1.07, allocations: 27.97 kB / 0.8812 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005848/1.07, allocations: 443 kB / 0.8816 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.07, allocations: 0 / 0.8816 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007735/1.071, allocations: 200 kB / 0.8818 GB, free: 9.453 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (36): * Single equations (assignments): 36 * 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.000547/1.072, allocations: 201 kB / 0.882 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009834/1.073, allocations: 0.637 MB / 0.8826 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.073, allocations: 0 / 0.8826 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/1.073, allocations: 201.1 kB / 0.8828 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.075, allocations: 379.9 kB / 0.8831 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/1.077, allocations: 1.343 MB / 0.8845 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/1.078, allocations: 0.9528 MB / 0.8854 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006171/1.079, allocations: 161.2 kB / 0.8855 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.079, allocations: 47.44 kB / 0.8856 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/1.079, allocations: 0 / 0.8856 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of Templates: time 0.02919/1.108, allocations: 13.61 MB / 0.8989 GB, free: 7.977 MB / 0.7012 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.makefile (rm -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe >> ../files/Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.sim & ./Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe 2>&1)