Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001165/0.001165, allocations: 109.3 kB / 16.36 MB, free: 5.961 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.001127/0.001127, allocations: 196.4 kB / 17.3 MB, free: 5.574 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.03 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5702/0.8213, allocations: 171 MB / 0.9518 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006851/0.8282, allocations: 4.262 MB / 0.9559 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.8289, allocations: 23.88 kB / 0.9559 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.8297, allocations: 354 kB / 0.9563 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.832, allocations: 0.9798 MB / 0.9572 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.834, allocations: 0.8171 MB / 0.958 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.8355, allocations: 1.283 MB / 0.9593 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.8362, allocations: 487.1 kB / 0.9597 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.8374, allocations: 0.6731 MB / 0.9604 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.8384, allocations: 457.2 kB / 0.9608 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.8385, allocations: 52 kB / 0.9609 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.8403, allocations: 0.916 MB / 0.9618 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.8405, allocations: 211.4 kB / 0.962 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.8409, allocations: 326.5 kB / 0.9623 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.8423, allocations: 1.137 MB / 0.9634 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8423, allocations: 0 / 0.9634 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8423, allocations: 0 / 0.9634 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.8424, allocations: 0 / 0.9634 GB, free: 3.172 MB / 0.7481 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.001535/0.8439, allocations: 0.9495 MB / 0.9643 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8439, allocations: 8.031 kB / 0.9643 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.8456, allocations: 266.9 kB / 0.9646 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.8465, allocations: 477.5 kB / 0.9651 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.8468, allocations: 86.44 kB / 0.9651 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.8469, allocations: 40 kB / 0.9652 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.8481, allocations: 0.6263 MB / 0.9658 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.8482, allocations: 0 / 0.9658 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.8482, allocations: 20 kB / 0.9658 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.8483, allocations: 18.94 kB / 0.9658 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.8497, allocations: 0.562 MB / 0.9664 GB, free: 28 kB / 0.7481 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.00402/0.8537, allocations: 2.272 MB / 0.9686 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.8547, allocations: 294.2 kB / 0.9689 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.8553, allocations: 176.7 kB / 0.969 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.8553, allocations: 3.984 kB / 0.969 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.8553, allocations: 38.56 kB / 0.9691 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.8553, allocations: 0 / 0.9691 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.005378/0.8607, allocations: 1.104 MB / 0.9702 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.8608, allocations: 85.05 kB / 0.9702 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.8614, allocations: 0.5418 MB / 0.9708 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.8614, allocations: 35.11 kB / 0.9708 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.8616, allocations: 299.4 kB / 0.9711 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.8617, allocations: 43.47 kB / 0.9711 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.8618, allocations: 61.59 kB / 0.9712 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.862, allocations: 354.8 kB / 0.9715 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.8626, allocations: 195.8 kB / 0.9717 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/0.8633, allocations: 283.8 kB / 0.972 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8646, allocations: 415.8 kB / 0.9724 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8646, allocations: 0 / 0.9724 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002798/0.8674, allocations: 0.7395 MB / 0.9731 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8674, allocations: 8.938 kB / 0.9731 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8674, allocations: 0 / 0.9731 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.8681, allocations: 188.8 kB / 0.9733 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.8685, allocations: 73.56 kB / 0.9734 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.8724, allocations: 2.228 MB / 0.9755 GB, free: 6.203 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.8732, allocations: 81.92 kB / 0.9756 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.8732, allocations: 11.98 kB / 0.9756 GB, free: 6.113 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.8735, allocations: 193.7 kB / 0.9758 GB, free: 5.914 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.8736, allocations: 51.38 kB / 0.9759 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.8738, allocations: 55.95 kB / 0.9759 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8738, allocations: 0 / 0.9759 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8738, allocations: 0 / 0.9759 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8738, allocations: 3.938 kB / 0.9759 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.8769, allocations: 1.141 MB / 0.977 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.877, allocations: 4.75 kB / 0.977 GB, free: 4.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.8772, allocations: 39.89 kB / 0.9771 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.8777, allocations: 190.4 kB / 0.9773 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.8778, allocations: 0 / 0.9773 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003611/0.8814, allocations: 2.193 MB / 0.9794 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8814, allocations: 4.031 kB / 0.9794 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.8839, allocations: 0.707 MB / 0.9801 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.8842, allocations: 168.5 kB / 0.9803 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.8843, allocations: 7.125 kB / 0.9803 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.8849, allocations: 55.88 kB / 0.9803 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.885, allocations: 11.98 kB / 0.9803 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.885, allocations: 19.98 kB / 0.9803 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004596/0.8855, allocations: 394.8 kB / 0.9807 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8855, allocations: 0 / 0.9807 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006717/0.8862, allocations: 179.8 kB / 0.9809 GB, free: 476 kB / 0.7637 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004261/0.8866, allocations: 178.3 kB / 0.9811 GB, free: 300 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.8882, allocations: 0.5341 MB / 0.9816 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8882, allocations: 0 / 0.9816 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.889, allocations: 308.3 kB / 0.9819 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.8903, allocations: 306.6 kB / 0.9822 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.8934, allocations: 1.068 MB / 0.9832 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.8938, allocations: 0.8582 MB / 0.9841 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004102/0.8942, allocations: 105.1 kB / 0.9842 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.805e-05/0.8943, allocations: 35.44 kB / 0.9842 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.8944, allocations: 3.938 kB / 0.9842 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.02037/0.9147, allocations: 12.42 MB / 0.9963 GB, free: 0.9023 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)