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.001635/0.001635, allocations: 101 kB / 16.27 MB, free: 6.418 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.001815/0.001815, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.798/1.798, allocations: 292.3 MB / 0.5495 GB, free: 17.37 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.001619/0.001619, allocations: 71.91 kB / 0.6721 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2423, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6491/0.8915, allocations: 171 MB / 0.951 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007142/0.8987, allocations: 4.263 MB / 0.9552 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.8998, allocations: 19.88 kB / 0.9552 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.9011, allocations: 354 kB / 0.9555 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.904, allocations: 0.9837 MB / 0.9565 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.9063, allocations: 0.8007 MB / 0.9573 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.9081, allocations: 1.292 MB / 0.9585 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.9088, allocations: 487.8 kB / 0.959 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.9101, allocations: 0.6693 MB / 0.9596 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.9112, allocations: 447.2 kB / 0.9601 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.9113, allocations: 52 kB / 0.9601 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.913, allocations: 0.912 MB / 0.961 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.9132, allocations: 219.4 kB / 0.9612 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.9136, allocations: 322.6 kB / 0.9615 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.9152, allocations: 1.122 MB / 0.9626 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9152, allocations: 4 kB / 0.9626 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9152, allocations: 0 / 0.9626 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.9153, allocations: 0 / 0.9626 GB, free: 3.758 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.001684/0.9169, allocations: 0.9378 MB / 0.9635 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.917, allocations: 16.03 kB / 0.9636 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.9187, allocations: 266.9 kB / 0.9638 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.9195, allocations: 481.5 kB / 0.9643 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.9199, allocations: 88.94 kB / 0.9644 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.9199, allocations: 43.94 kB / 0.9644 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.9212, allocations: 0.6263 MB / 0.965 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9212, allocations: 1.781 kB / 0.965 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.9213, allocations: 20 kB / 0.965 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.9213, allocations: 21 kB / 0.965 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.9228, allocations: 0.5581 MB / 0.9656 GB, free: 0.6055 MB / 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.004142/0.9269, allocations: 2.284 MB / 0.9678 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.928, allocations: 290.3 kB / 0.9681 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.9286, allocations: 180.6 kB / 0.9683 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.9286, allocations: 4 kB / 0.9683 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.9287, allocations: 34.72 kB / 0.9683 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.9287, allocations: 3.938 kB / 0.9683 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.005385/0.9341, allocations: 1.101 MB / 0.9694 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.9342, allocations: 81.11 kB / 0.9695 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.9349, allocations: 0.5535 MB / 0.97 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.9349, allocations: 29.7 kB / 0.97 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.9352, allocations: 303.4 kB / 0.9703 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.9352, allocations: 39.48 kB / 0.9704 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.9353, allocations: 61.61 kB / 0.9704 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9355, allocations: 358.8 kB / 0.9708 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/0.9361, allocations: 192.9 kB / 0.9709 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.9369, allocations: 284.7 kB / 0.9712 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.9381, allocations: 416.2 kB / 0.9716 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9381, allocations: 0 / 0.9716 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00286/0.941, allocations: 0.743 MB / 0.9723 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.941, allocations: 4.781 kB / 0.9723 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.941, allocations: 7.938 kB / 0.9724 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/0.9417, allocations: 188.5 kB / 0.9725 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.9421, allocations: 71.89 kB / 0.9726 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.9462, allocations: 2.23 MB / 0.9748 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.947, allocations: 83.53 kB / 0.9749 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.9471, allocations: 12 kB / 0.9749 GB, free: 6.672 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.0004104/0.9475, allocations: 189.7 kB / 0.9751 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.9476, allocations: 51.44 kB / 0.9751 GB, free: 6.426 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.9477, allocations: 55.89 kB / 0.9752 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.9477, allocations: 0 / 0.9752 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9477, allocations: 7.156 kB / 0.9752 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9477, allocations: 3.984 kB / 0.9752 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.951, allocations: 1.133 MB / 0.9763 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.951, allocations: 0 / 0.9763 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.9513, allocations: 47.94 kB / 0.9763 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/0.9518, allocations: 176.8 kB / 0.9765 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.9519, allocations: 8 kB / 0.9765 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.9556, allocations: 2.193 MB / 0.9786 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9556, allocations: 0 / 0.9786 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.9584, allocations: 0.7163 MB / 0.9793 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.9587, allocations: 164.5 kB / 0.9795 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.9588, allocations: 5.875 kB / 0.9795 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.9594, allocations: 57.91 kB / 0.9796 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.9595, allocations: 7.984 kB / 0.9796 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.9595, allocations: 19.98 kB / 0.9796 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004782/0.96, allocations: 390.8 kB / 0.98 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.4e-07/0.96, allocations: 0 / 0.98 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000673/0.9607, allocations: 187.8 kB / 0.9801 GB, free: 1.031 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.0004635/0.9612, allocations: 169.3 kB / 0.9803 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.963, allocations: 0.5417 MB / 0.9808 GB, free: 320 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.963, allocations: 1.969 kB / 0.9808 GB, free: 320 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.9638, allocations: 299 kB / 0.9811 GB, free: 8 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.9654, allocations: 314.9 kB / 0.9814 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.9687, allocations: 1.117 MB / 0.9825 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.9692, allocations: 0.8582 MB / 0.9833 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.9693, allocations: 39.42 kB / 0.9834 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.523e-06/0.9693, allocations: 0 / 0.9834 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.01646/0.9858, allocations: 11.06 MB / 0.9942 GB, free: 2.809 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)