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.2146/0.2166, allocations: 80.84 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain): time 0.7962/1.013, allocations: 178.5 MB / 0.764 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01169/1.025, allocations: 6.116 MB / 0.77 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/1.027, allocations: 20.06 kB / 0.77 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/1.029, allocations: 330.2 kB / 0.7703 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/1.034, allocations: 1.207 MB / 0.7715 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/1.037, allocations: 1.016 MB / 0.7725 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00488/1.042, allocations: 2.729 MB / 0.7751 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/1.044, allocations: 0.5745 MB / 0.7757 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/1.045, allocations: 0.7145 MB / 0.7764 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/1.047, allocations: 0.6718 MB / 0.7771 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/1.047, allocations: 42.56 kB / 0.7771 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/1.052, allocations: 1.54 MB / 0.7786 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006358/1.052, allocations: 284.8 kB / 0.7789 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009155/1.053, allocations: 434.2 kB / 0.7793 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004363/1.058, allocations: 1.732 MB / 0.781 GB, free: 5.242 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.058, allocations: 0 / 0.781 GB, free: 5.242 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.612e-05/1.058, allocations: 0 / 0.781 GB, free: 5.242 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.058, allocations: 3.938 kB / 0.781 GB, free: 5.238 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002861/1.06, allocations: 1.271 MB / 0.7822 GB, free: 4.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.061, allocations: 9.531 kB / 0.7822 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/1.063, allocations: 265.8 kB / 0.7825 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.064, allocations: 0.5752 MB / 0.783 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/1.064, allocations: 107.3 kB / 0.7831 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.064, allocations: 62.56 kB / 0.7832 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.066, allocations: 0.731 MB / 0.7839 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.066, allocations: 0 / 0.7839 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/1.066, allocations: 27.12 kB / 0.7839 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/1.066, allocations: 25.78 kB / 0.784 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.067, allocations: 0.5463 MB / 0.7845 GB, free: 2.789 MB / 0.545 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.00512/1.072, allocations: 2.705 MB / 0.7871 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/1.073, allocations: 431.9 kB / 0.7876 GB, free: 292 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/1.073, allocations: 210 kB / 0.7878 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/1.074, allocations: 228.8 kB / 0.788 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.074, allocations: 39.75 kB / 0.788 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/1.074, allocations: 3.938 kB / 0.788 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36): time 0.00304/1.077, allocations: 1.262 MB / 0.7893 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/1.077, allocations: 66.08 kB / 0.7893 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.078, allocations: 0.617 MB / 0.7899 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/1.078, allocations: 38.2 kB / 0.79 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/1.079, allocations: 344.3 kB / 0.7903 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.079, allocations: 132.2 kB / 0.7904 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/1.079, allocations: 105.5 kB / 0.7905 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.079, allocations: 370.2 kB / 0.7909 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/1.08, allocations: 206.1 kB / 0.7911 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/1.08, allocations: 329.1 kB / 0.7914 GB, free: 13.46 MB / 0.5606 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.0108/1.091, allocations: 2.334 MB / 0.7937 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.091, allocations: 4 kB / 0.7937 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001536/1.093, allocations: 0.733 MB / 0.7944 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/1.093, allocations: 95.22 kB / 0.7945 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.093, allocations: 5.625 kB / 0.7945 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/1.093, allocations: 5.5 kB / 0.7945 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/1.093, allocations: 111.7 kB / 0.7946 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.093, allocations: 7.438 kB / 0.7946 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/1.094, allocations: 42.28 kB / 0.7946 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/1.094, allocations: 25.88 kB / 0.7947 GB, free: 11.45 MB / 0.5606 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.0005037/1.095, allocations: 243.5 kB / 0.7949 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.095, allocations: 63.25 kB / 0.7949 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/1.095, allocations: 475.9 kB / 0.7954 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.096, allocations: 7.938 kB / 0.7954 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.096, allocations: 0 / 0.7954 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006415/1.096, allocations: 480 kB / 0.7959 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/1.099, allocations: 1.359 MB / 0.7972 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.099, allocations: 8 kB / 0.7972 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.099, allocations: 79.84 kB / 0.7973 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/1.099, allocations: 11.97 kB / 0.7973 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/1.099, allocations: 8 kB / 0.7973 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/1.099, allocations: 8 kB / 0.7973 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.099, allocations: 3.938 kB / 0.7973 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.1, allocations: 0.8397 MB / 0.7981 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/1.101, allocations: 204.2 kB / 0.7983 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/1.101, allocations: 12 kB / 0.7983 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/1.101, allocations: 43.97 kB / 0.7984 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/1.102, allocations: 27.91 kB / 0.7984 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/1.102, allocations: 27.97 kB / 0.7984 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005554/1.102, allocations: 439 kB / 0.7988 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.102, allocations: 0 / 0.7988 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000781/1.103, allocations: 200 kB / 0.799 GB, free: 6.777 MB / 0.5606 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.0005365/1.103, allocations: 197.3 kB / 0.7992 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000973/1.104, allocations: 0.6231 MB / 0.7998 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.104, allocations: 8.062 kB / 0.7998 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.105, allocations: 200.3 kB / 0.8 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.106, allocations: 355.8 kB / 0.8004 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/1.109, allocations: 1.622 MB / 0.802 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/1.11, allocations: 0.9412 MB / 0.8029 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007081/1.111, allocations: 166.3 kB / 0.803 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/1.111, allocations: 55.42 kB / 0.8031 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/1.111, allocations: 3.938 kB / 0.8031 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of Templates: time 0.02582/1.137, allocations: 12.96 MB / 0.8157 GB, free: 5.754 MB / 0.5762 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)