Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008827/0.008827, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4782/0.4782, allocations: 95.47 MB / 365.4 MB, free: 12.15 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 71.91 kB / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4557, allocations: 69.1 MB / 0.5711 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1866/0.6424, allocations: 147.4 MB / 0.715 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007417/0.6499, allocations: 4.158 MB / 0.719 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.651, allocations: 15.88 kB / 0.7191 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.6522, allocations: 230.5 kB / 0.7193 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.6543, allocations: 0.5479 MB / 0.7198 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.6568, allocations: 0.732 MB / 0.7205 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.6582, allocations: 1.036 MB / 0.7215 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.6589, allocations: 376.5 kB / 0.7219 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.6601, allocations: 457.2 kB / 0.7223 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.6608, allocations: 390.5 kB / 0.7227 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.6608, allocations: 32 kB / 0.7227 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.662, allocations: 439.3 kB / 0.7232 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.6621, allocations: 103.6 kB / 0.7233 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.6625, allocations: 234.9 kB / 0.7235 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.6639, allocations: 0.6955 MB / 0.7242 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6639, allocations: 0 / 0.7242 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.664, allocations: 4 kB / 0.7242 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.664, allocations: 0 / 0.7242 GB, free: 6.777 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001612/0.6656, allocations: 0.7597 MB / 0.7249 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.6657, allocations: 15.98 kB / 0.7249 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.666, allocations: 56.36 kB / 0.725 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.6668, allocations: 418.8 kB / 0.7254 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.6668, allocations: 20.66 kB / 0.7254 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.6669, allocations: 27.94 kB / 0.7254 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/0.6676, allocations: 380.2 kB / 0.7258 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6676, allocations: 0 / 0.7258 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.6676, allocations: 15.98 kB / 0.7258 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.6676, allocations: 8 kB / 0.7258 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.6682, allocations: 258 kB / 0.7261 GB, free: 4.73 MB / 0.5762 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.002091/0.6703, allocations: 1.532 MB / 0.7275 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.6708, allocations: 186.6 kB / 0.7277 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.6711, allocations: 80.81 kB / 0.7278 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.6728, allocations: 1.37 MB / 0.7291 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.6729, allocations: 34.56 kB / 0.7292 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/0.6729, allocations: 0 / 0.7292 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0007462/0.6737, allocations: 285 kB / 0.7294 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.6737, allocations: 106.8 kB / 0.7295 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.6742, allocations: 361.7 kB / 0.7299 GB, free: 300 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.6742, allocations: 33.7 kB / 0.7299 GB, free: 260 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.6744, allocations: 223.8 kB / 0.7301 GB, free: 32 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.6745, allocations: 59.11 kB / 0.7302 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.6746, allocations: 49.7 kB / 0.7302 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6748, allocations: 354.7 kB / 0.7306 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.675, allocations: 67.95 kB / 0.7306 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.6752, allocations: 145.4 kB / 0.7308 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.6756, allocations: 223 kB / 0.731 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6756, allocations: 0 / 0.731 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005344/0.6762, allocations: 273.1 kB / 0.7313 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6762, allocations: 8 kB / 0.7313 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6762, allocations: 4 kB / 0.7313 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.6762, allocations: 0 / 0.7313 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.6764, allocations: 55.91 kB / 0.7313 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6765, allocations: 11.92 kB / 0.7313 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.6767, allocations: 31.69 kB / 0.7314 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.6767, allocations: 8 kB / 0.7314 GB, free: 14.69 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 26 * 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.0001882/0.6769, allocations: 170.3 kB / 0.7315 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.677, allocations: 35.62 kB / 0.7316 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.6775, allocations: 258.5 kB / 0.7318 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6776, allocations: 0 / 0.7318 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6776, allocations: 0 / 0.7318 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6776, allocations: 3.984 kB / 0.7318 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6787, allocations: 0.9138 MB / 0.7327 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6787, allocations: 4 kB / 0.7327 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.6789, allocations: 39.97 kB / 0.7328 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.6789, allocations: 7.938 kB / 0.7328 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.6789, allocations: 11.94 kB / 0.7328 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6789, allocations: 3.938 kB / 0.7328 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6789, allocations: 4 kB / 0.7328 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.6794, allocations: 366.7 kB / 0.7331 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.6796, allocations: 148.5 kB / 0.7333 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.6797, allocations: 4 kB / 0.7333 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.6799, allocations: 15.98 kB / 0.7333 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.68, allocations: 15.98 kB / 0.7333 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.68, allocations: 8 kB / 0.7333 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000503/0.6805, allocations: 295.1 kB / 0.7336 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6805, allocations: 0 / 0.7336 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005619/0.6811, allocations: 135.8 kB / 0.7337 GB, free: 12.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 16 * 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.0005732/0.6817, allocations: 219 kB / 0.7339 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.6823, allocations: 192.1 kB / 0.7341 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6823, allocations: 0 / 0.7341 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.6825, allocations: 83.83 kB / 0.7342 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6836, allocations: 260.4 kB / 0.7344 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6848, allocations: 0.6876 MB / 0.7351 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.6852, allocations: 0.8035 MB / 0.7359 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.6855, allocations: 91.02 kB / 0.736 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.6856, allocations: 31.44 kB / 0.736 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6856, allocations: 0 / 0.736 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of Templates: time 0.0167/0.7023, allocations: 8.258 MB / 0.7441 GB, free: 1.535 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)