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.001203/0.001203, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001237/0.001237, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001431/0.001431, allocations: 75.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2505, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6228/0.8733, allocations: 171 MB / 0.9518 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008218/0.8816, allocations: 4.264 MB / 0.9559 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.8827, allocations: 21.66 kB / 0.9559 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.8843, allocations: 346 kB / 0.9563 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.8876, allocations: 0.9837 MB / 0.9572 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.8901, allocations: 0.8151 MB / 0.958 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0021/0.8923, allocations: 1.278 MB / 0.9593 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.8932, allocations: 495.9 kB / 0.9598 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.8949, allocations: 0.6692 MB / 0.9604 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.8964, allocations: 453.9 kB / 0.9608 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.8966, allocations: 56 kB / 0.9609 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.8989, allocations: 0.9082 MB / 0.9618 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.8993, allocations: 207.4 kB / 0.962 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.8999, allocations: 330.5 kB / 0.9623 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.9021, allocations: 1.134 MB / 0.9634 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.9021, allocations: 0 / 0.9634 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9021, allocations: 0 / 0.9634 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.952e-05/0.9022, allocations: 1.969 kB / 0.9634 GB, free: 3.113 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.002216/0.9044, allocations: 0.9494 MB / 0.9643 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9045, allocations: 8.031 kB / 0.9643 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.9062, allocations: 259 kB / 0.9646 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.9073, allocations: 497.5 kB / 0.9651 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.9074, allocations: 33 kB / 0.9651 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.9075, allocations: 47.98 kB / 0.9651 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.9089, allocations: 0.6107 MB / 0.9657 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.9089, allocations: 0 / 0.9657 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.909, allocations: 20 kB / 0.9657 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.9091, allocations: 21 kB / 0.9658 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.9106, allocations: 0.5503 MB / 0.9663 GB, free: 24 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.004639/0.9152, allocations: 2.264 MB / 0.9685 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009445/0.9162, allocations: 278.3 kB / 0.9688 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.9167, allocations: 172.7 kB / 0.9689 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.9168, allocations: 0 / 0.9689 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.9168, allocations: 38.56 kB / 0.969 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.9168, allocations: 0 / 0.969 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.005384/0.9222, allocations: 1.085 MB / 0.97 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.9223, allocations: 88.98 kB / 0.9701 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.9233, allocations: 0.5505 MB / 0.9707 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.9234, allocations: 25.7 kB / 0.9707 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.9236, allocations: 303.4 kB / 0.971 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.9237, allocations: 43.48 kB / 0.971 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.9239, allocations: 65.59 kB / 0.9711 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.9241, allocations: 350.8 kB / 0.9714 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/0.9247, allocations: 191.8 kB / 0.9716 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.9254, allocations: 267.9 kB / 0.9719 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.9266, allocations: 411.8 kB / 0.9723 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.9267, allocations: 0 / 0.9723 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002759/0.9294, allocations: 0.7255 MB / 0.973 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.9295, allocations: 8 kB / 0.973 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9295, allocations: 8.094 kB / 0.973 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/0.9302, allocations: 184.7 kB / 0.9732 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.9306, allocations: 71.88 kB / 0.9732 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/0.935, allocations: 2.232 MB / 0.9754 GB, free: 6.273 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.9357, allocations: 71.48 kB / 0.9755 GB, free: 6.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.9357, allocations: 12 kB / 0.9755 GB, free: 6.191 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.0003898/0.9361, allocations: 193.7 kB / 0.9757 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.9363, allocations: 47.44 kB / 0.9757 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.9364, allocations: 59.89 kB / 0.9758 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.9365, allocations: 0 / 0.9758 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9365, allocations: 4.875 kB / 0.9758 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9365, allocations: 0 / 0.9758 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.9397, allocations: 1.137 MB / 0.9769 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.9397, allocations: 4.062 kB / 0.9769 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.94, allocations: 39.95 kB / 0.9769 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005435/0.9405, allocations: 180.7 kB / 0.9771 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.9406, allocations: 4 kB / 0.9771 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/0.9443, allocations: 2.189 MB / 0.9792 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/0.9443, allocations: 3.984 kB / 0.9792 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.9469, allocations: 0.6931 MB / 0.9799 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.9473, allocations: 168.5 kB / 0.9801 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.9474, allocations: 8 kB / 0.9801 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/0.9481, allocations: 52.17 kB / 0.9801 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.9482, allocations: 19.92 kB / 0.9802 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.9482, allocations: 11.98 kB / 0.9802 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000589/0.9488, allocations: 394.8 kB / 0.9805 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9488, allocations: 3.938 kB / 0.9805 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007564/0.9496, allocations: 179.8 kB / 0.9807 GB, free: 0.5703 MB / 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.0005031/0.9501, allocations: 178.3 kB / 0.9809 GB, free: 412 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.9518, allocations: 0.5216 MB / 0.9814 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.9518, allocations: 0 / 0.9814 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.9526, allocations: 307 kB / 0.9817 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.9542, allocations: 299.8 kB / 0.982 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.9576, allocations: 1.111 MB / 0.9831 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.9581, allocations: 0.8582 MB / 0.9839 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.9583, allocations: 39.44 kB / 0.9839 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/0.9583, allocations: 4 kB / 0.9839 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.0192/0.9775, allocations: 11.05 MB / 0.9947 GB, free: 2.387 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)