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.2173/0.2194, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain): time 0.8746/1.094, allocations: 180.7 MB / 0.8471 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01101/1.105, allocations: 6.048 MB / 0.853 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/1.107, allocations: 24.78 kB / 0.8531 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/1.108, allocations: 382.6 kB / 0.8534 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005088/1.113, allocations: 1.302 MB / 0.8547 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/1.117, allocations: 1.096 MB / 0.8558 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004387/1.121, allocations: 1.981 MB / 0.8577 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/1.123, allocations: 0.6789 MB / 0.8584 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/1.125, allocations: 0.8159 MB / 0.8592 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/1.128, allocations: 0.6487 MB / 0.8598 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004378/1.128, allocations: 78.09 kB / 0.8599 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/1.133, allocations: 1.358 MB / 0.8612 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007833/1.133, allocations: 327.8 kB / 0.8615 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/1.135, allocations: 469.1 kB / 0.862 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006307/1.141, allocations: 1.702 MB / 0.8636 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.141, allocations: 4 kB / 0.8636 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.705e-06/1.141, allocations: 0 / 0.8636 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.918e-05/1.141, allocations: 3.984 kB / 0.8636 GB, free: 4.434 MB / 0.6231 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.004239/1.146, allocations: 1.275 MB / 0.8649 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/1.146, allocations: 12.02 kB / 0.8649 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/1.148, allocations: 266.7 kB / 0.8651 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/1.15, allocations: 0.595 MB / 0.8657 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/1.15, allocations: 104.7 kB / 0.8658 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/1.151, allocations: 69.06 kB / 0.8659 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.152, allocations: 0.7246 MB / 0.8666 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.152, allocations: 7.938 kB / 0.8666 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/1.153, allocations: 27.98 kB / 0.8666 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/1.153, allocations: 25.25 kB / 0.8667 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.154, allocations: 0.5594 MB / 0.8672 GB, free: 0.625 MB / 0.6231 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.00445/1.158, allocations: 2.691 MB / 0.8698 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/1.159, allocations: 435.6 kB / 0.8702 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.159, allocations: 203.5 kB / 0.8704 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/1.16, allocations: 242.4 kB / 0.8707 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.16, allocations: 38.84 kB / 0.8707 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 4.168e-06/1.16, allocations: 0 / 0.8707 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.003115/1.163, allocations: 1.26 MB / 0.8719 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.163, allocations: 63.14 kB / 0.872 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/1.164, allocations: 0.629 MB / 0.8726 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/1.164, allocations: 37.7 kB / 0.8726 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/1.164, allocations: 340.2 kB / 0.873 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.164, allocations: 126.2 kB / 0.8731 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/1.165, allocations: 106.2 kB / 0.8732 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.165, allocations: 374.8 kB / 0.8735 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/1.165, allocations: 197.9 kB / 0.8737 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/1.166, allocations: 331.6 kB / 0.8741 GB, free: 9.215 MB / 0.6387 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.01041/1.176, allocations: 2.329 MB / 0.8763 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.258e-05/1.176, allocations: 0 / 0.8763 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001603/1.178, allocations: 0.7347 MB / 0.877 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.034e-05/1.178, allocations: 93.09 kB / 0.8771 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.178, allocations: 4 kB / 0.8771 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.178, allocations: 8 kB / 0.8771 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/1.178, allocations: 107.8 kB / 0.8772 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.178, allocations: 7.984 kB / 0.8773 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/1.179, allocations: 20 kB / 0.8773 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/1.179, allocations: 23.94 kB / 0.8773 GB, free: 5.73 MB / 0.6387 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.000588/1.18, allocations: 241.8 kB / 0.8775 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.18, allocations: 63.25 kB / 0.8776 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/1.181, allocations: 487.8 kB / 0.8781 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.181, allocations: 7.938 kB / 0.8781 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.181, allocations: 0 / 0.8781 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006005/1.182, allocations: 472.1 kB / 0.8785 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.184, allocations: 1.355 MB / 0.8798 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.184, allocations: 4.344 kB / 0.8798 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/1.185, allocations: 87.89 kB / 0.8799 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.185, allocations: 7.938 kB / 0.8799 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/1.185, allocations: 12 kB / 0.8799 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.185, allocations: 4 kB / 0.8799 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.185, allocations: 7.875 kB / 0.88 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/1.186, allocations: 0.8331 MB / 0.8808 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005605/1.187, allocations: 204.3 kB / 0.881 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/1.187, allocations: 12 kB / 0.881 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/1.188, allocations: 27.95 kB / 0.881 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/1.188, allocations: 31.91 kB / 0.881 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.188, allocations: 23.98 kB / 0.8811 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006612/1.189, allocations: 443 kB / 0.8815 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.01e-07/1.189, allocations: 4 kB / 0.8815 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001056/1.19, allocations: 200 kB / 0.8817 GB, free: 1.047 MB / 0.6387 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.0007751/1.191, allocations: 199.9 kB / 0.8819 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.192, allocations: 0.6409 MB / 0.8825 GB, free: 180 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.192, allocations: 0 / 0.8825 GB, free: 180 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/1.192, allocations: 193.2 kB / 0.8827 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.194, allocations: 387.9 kB / 0.883 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/1.197, allocations: 1.351 MB / 0.8844 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/1.197, allocations: 0.9528 MB / 0.8853 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00067/1.198, allocations: 161.2 kB / 0.8854 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/1.198, allocations: 47.44 kB / 0.8855 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/1.198, allocations: 0 / 0.8855 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.0308/1.229, allocations: 13.6 MB / 0.8988 GB, free: 15.56 MB / 0.67 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)