Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [/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.1942/0.1963, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7404/0.9367, allocations: 170.9 MB / 0.8375 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007193/0.944, allocations: 3.862 MB / 0.8413 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009791/0.945, allocations: 20.41 kB / 0.8413 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.9464, allocations: 317 kB / 0.8416 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.9501, allocations: 1.034 MB / 0.8426 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.9526, allocations: 0.7591 MB / 0.8434 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.9546, allocations: 1.287 MB / 0.8446 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008995/0.9555, allocations: 475.6 kB / 0.8451 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.9572, allocations: 0.6113 MB / 0.8457 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.959, allocations: 457.8 kB / 0.8461 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.9592, allocations: 50.81 kB / 0.8461 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.9613, allocations: 0.6914 MB / 0.8468 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.9617, allocations: 214.4 kB / 0.847 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007845/0.9625, allocations: 320 kB / 0.8473 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.965, allocations: 1.048 MB / 0.8484 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.965, allocations: 0 / 0.8484 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.965, allocations: 0 / 0.8484 GB, free: 428 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.92e-05/0.965, allocations: 0 / 0.8484 GB, free: 428 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002707/0.9678, allocations: 0.9092 MB / 0.8492 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.9678, allocations: 9.344 kB / 0.8492 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.9695, allocations: 244.8 kB / 0.8495 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.9705, allocations: 458.8 kB / 0.8499 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.9705, allocations: 34.52 kB / 0.85 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.9706, allocations: 39.31 kB / 0.85 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.9719, allocations: 0.6042 MB / 0.8506 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.972, allocations: 4 kB / 0.8506 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.972, allocations: 17.69 kB / 0.8506 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.9721, allocations: 24.11 kB / 0.8506 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.9736, allocations: 0.5318 MB / 0.8511 GB, free: 14.49 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.004323/0.9779, allocations: 2.221 MB / 0.8533 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.9788, allocations: 267.6 kB / 0.8536 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.9794, allocations: 163.2 kB / 0.8537 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.9794, allocations: 7.234 kB / 0.8537 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.9795, allocations: 41.28 kB / 0.8538 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.9795, allocations: 0 / 0.8538 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.001934/0.9814, allocations: 0.4996 MB / 0.8543 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.9815, allocations: 81.11 kB / 0.8543 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.9823, allocations: 0.5618 MB / 0.8549 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.9824, allocations: 31.83 kB / 0.8549 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.9827, allocations: 293.7 kB / 0.8552 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.9827, allocations: 34.42 kB / 0.8552 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9829, allocations: 64.48 kB / 0.8553 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.983, allocations: 358.9 kB / 0.8556 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.9837, allocations: 188.1 kB / 0.8558 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.9843, allocations: 276.8 kB / 0.8561 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.9855, allocations: 410.6 kB / 0.8565 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9855, allocations: 2.281 kB / 0.8565 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001472/0.987, allocations: 0.4991 MB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.987, allocations: 7.125 kB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.987, allocations: 4.75 kB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.9871, allocations: 2.781 kB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.9876, allocations: 94.61 kB / 0.8571 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.9876, allocations: 6.156 kB / 0.8571 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.9882, allocations: 86.73 kB / 0.8571 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.9883, allocations: 10.03 kB / 0.8572 GB, free: 10.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (29): * Single equations (assignments): 29 * 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 prepare postOptimizeDAE: time 0.0003006/0.9886, allocations: 193 kB / 0.8573 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.9887, allocations: 54.81 kB / 0.8574 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.9889, allocations: 53.12 kB / 0.8574 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.9889, allocations: 2.844 kB / 0.8574 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9889, allocations: 0 / 0.8574 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9889, allocations: 0 / 0.8574 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.991, allocations: 0.8858 MB / 0.8583 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.991, allocations: 6.312 kB / 0.8583 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.9914, allocations: 54.94 kB / 0.8584 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9914, allocations: 0 / 0.8584 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.9914, allocations: 11.2 kB / 0.8584 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9914, allocations: 7.031 kB / 0.8584 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9914, allocations: 4 kB / 0.8584 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.9928, allocations: 482.2 kB / 0.8589 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.9931, allocations: 170.3 kB / 0.859 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.9931, allocations: 6.719 kB / 0.859 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.9937, allocations: 47.81 kB / 0.8591 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.9938, allocations: 8 kB / 0.8591 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.9938, allocations: 15.92 kB / 0.8591 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000459/0.9943, allocations: 406.8 kB / 0.8595 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9943, allocations: 0 / 0.8595 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005497/0.9949, allocations: 139.8 kB / 0.8596 GB, free: 8.082 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004127/0.9953, allocations: 165.7 kB / 0.8598 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.9966, allocations: 379.7 kB / 0.8601 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.9966, allocations: 4.5 kB / 0.8601 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.9972, allocations: 163.9 kB / 0.8603 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.9987, allocations: 302.5 kB / 0.8606 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/1.002, allocations: 1.029 MB / 0.8616 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/1.002, allocations: 0.8542 MB / 0.8624 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00046/1.003, allocations: 112.5 kB / 0.8625 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.003, allocations: 43.42 kB / 0.8626 GB, free: 5 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/1.003, allocations: 0 / 0.8626 GB, free: 5 MB / 0.6231 GB Notification: Performance of Templates: time 0.0174/1.02, allocations: 10.21 MB / 0.8725 GB, free: 10.91 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)