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.0008574/0.0008573, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008955/0.0008957, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.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.631/1.631, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006175/0.0006176, allocations: 17.19 kB / 0.6737 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2656, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6786/0.9442, allocations: 155.4 MB / 0.939 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006778/0.9511, allocations: 3.995 MB / 0.9429 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.9522, allocations: 17.03 kB / 0.9429 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.9532, allocations: 227.1 kB / 0.9431 GB, free: 5.414 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002563/0.9558, allocations: 0.7377 MB / 0.9439 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.9582, allocations: 0.6097 MB / 0.9444 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.9609, allocations: 1.514 MB / 0.9459 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.9615, allocations: 359.2 kB / 0.9463 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.9629, allocations: 0.555 MB / 0.9468 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008544/0.9637, allocations: 429.7 kB / 0.9472 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.9638, allocations: 21.84 kB / 0.9472 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.9657, allocations: 0.6113 MB / 0.9478 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.966, allocations: 182.5 kB / 0.948 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.9665, allocations: 140.3 kB / 0.9481 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.9677, allocations: 0.7981 MB / 0.9489 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.9677, allocations: 4.656 kB / 0.9489 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9677, allocations: 0 / 0.9489 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9677, allocations: 0 / 0.9489 GB, free: 20.7 MB / 0.7325 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.001517/0.9692, allocations: 0.8422 MB / 0.9498 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.9693, allocations: 9.5 kB / 0.9498 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.9708, allocations: 287 kB / 0.95 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.9716, allocations: 471.1 kB / 0.9505 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.9719, allocations: 101.6 kB / 0.9506 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.9719, allocations: 39 kB / 0.9506 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.9732, allocations: 0.6345 MB / 0.9512 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.9732, allocations: 1.094 kB / 0.9512 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.9732, allocations: 18.09 kB / 0.9513 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.9733, allocations: 28.2 kB / 0.9513 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.9746, allocations: 0.5795 MB / 0.9518 GB, free: 19.68 MB / 0.7325 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.003788/0.9784, allocations: 2.302 MB / 0.9541 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.9793, allocations: 310.2 kB / 0.9544 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.9798, allocations: 189.6 kB / 0.9546 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.9798, allocations: 6.031 kB / 0.9546 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.9799, allocations: 40.91 kB / 0.9546 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.9799, allocations: 0 / 0.9546 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.00462/0.9845, allocations: 1.189 MB / 0.9558 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.9846, allocations: 78.58 kB / 0.9559 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.9853, allocations: 0.5444 MB / 0.9564 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.9854, allocations: 31.48 kB / 0.9564 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.9856, allocations: 299 kB / 0.9567 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.9856, allocations: 40.77 kB / 0.9567 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.9857, allocations: 8.922 kB / 0.9567 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9858, allocations: 355.4 kB / 0.9571 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.9864, allocations: 206 kB / 0.9573 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.987, allocations: 293.1 kB / 0.9576 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.9876, allocations: 218.7 kB / 0.9578 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9876, allocations: 5.062 kB / 0.9578 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002427/0.99, allocations: 0.7834 MB / 0.9585 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.99, allocations: 12.19 kB / 0.9586 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.9901, allocations: 4.75 kB / 0.9586 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.9907, allocations: 184.4 kB / 0.9587 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.9911, allocations: 81.5 kB / 0.9588 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.9951, allocations: 2.189 MB / 0.9609 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.9958, allocations: 88.06 kB / 0.961 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.9959, allocations: 16.38 kB / 0.961 GB, free: 15.93 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003714/0.9962, allocations: 197.2 kB / 0.9612 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.9963, allocations: 48.47 kB / 0.9613 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.9964, allocations: 51.08 kB / 0.9613 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9965, allocations: 1.219 kB / 0.9613 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.9965, allocations: 0 / 0.9613 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9965, allocations: 0 / 0.9613 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.9993, allocations: 1.196 MB / 0.9625 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9994, allocations: 192 / 0.9625 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.9996, allocations: 56.91 kB / 0.9626 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/1, allocations: 188.2 kB / 0.9627 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1, allocations: 5.75 kB / 0.9627 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/1.003, allocations: 2.055 MB / 0.9647 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.003, allocations: 1.438 kB / 0.9647 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/1.006, allocations: 0.7542 MB / 0.9655 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/1.006, allocations: 168.3 kB / 0.9656 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/1.006, allocations: 2.812 kB / 0.9656 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/1.007, allocations: 67.64 kB / 0.9657 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/1.007, allocations: 18.48 kB / 0.9657 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/1.007, allocations: 12.56 kB / 0.9657 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006196/1.008, allocations: 387.4 kB / 0.9661 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/1.008, allocations: 11.88 kB / 0.9661 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008978/1.009, allocations: 177.9 kB / 0.9663 GB, free: 13.63 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004836/1.009, allocations: 181.5 kB / 0.9665 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001998/1.011, allocations: 0.6481 MB / 0.9671 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.011, allocations: 1.75 kB / 0.9671 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/1.012, allocations: 325.8 kB / 0.9674 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.013, allocations: 288.8 kB / 0.9677 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/1.016, allocations: 1.259 MB / 0.9689 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/1.017, allocations: 0.8694 MB / 0.9698 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005371/1.017, allocations: 98.39 kB / 0.9699 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.017, allocations: 38.34 kB / 0.9699 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.017, allocations: 4 kB / 0.9699 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.01953/1.037, allocations: 11.36 MB / 0.981 GB, free: 6.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: