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.001172/0.001177, allocations: 109.8 kB / 16.29 MB, free: 6.43 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.001098/0.001098, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.556/1.556, 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.822/1.822, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001419/0.001419, allocations: 64.47 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.254, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6738/0.9278, allocations: 171 MB / 0.951 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007252/0.9351, allocations: 4.262 MB / 0.9552 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008536/0.936, allocations: 19.88 kB / 0.9552 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.9372, allocations: 354 kB / 0.9556 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.9402, allocations: 0.9837 MB / 0.9565 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.9428, allocations: 0.8075 MB / 0.9573 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.9447, allocations: 1.299 MB / 0.9586 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.9456, allocations: 479.2 kB / 0.959 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.9471, allocations: 0.6751 MB / 0.9597 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.9485, allocations: 451.5 kB / 0.9601 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.9487, allocations: 52 kB / 0.9602 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.9506, allocations: 0.9121 MB / 0.9611 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.951, allocations: 203.5 kB / 0.9613 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.9515, allocations: 338.5 kB / 0.9616 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.9536, allocations: 1.134 MB / 0.9627 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9536, allocations: 0 / 0.9627 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9536, allocations: 0 / 0.9627 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.9537, allocations: 0 / 0.9627 GB, free: 3.551 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.002105/0.9558, allocations: 0.9572 MB / 0.9636 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9558, allocations: 12.03 kB / 0.9636 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.9575, allocations: 259 kB / 0.9639 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.9585, allocations: 477.5 kB / 0.9643 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.9588, allocations: 92.94 kB / 0.9644 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.9589, allocations: 39.94 kB / 0.9645 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.9603, allocations: 0.6242 MB / 0.9651 GB, free: 1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.9603, allocations: 4 kB / 0.9651 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.9604, allocations: 17.25 kB / 0.9651 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.9604, allocations: 20.94 kB / 0.9651 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.9618, allocations: 0.5581 MB / 0.9657 GB, free: 408 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.004055/0.9659, allocations: 2.268 MB / 0.9679 GB, free: 14 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.9668, allocations: 298.2 kB / 0.9682 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.9673, allocations: 183.3 kB / 0.9683 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.9674, allocations: 4 kB / 0.9683 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.9674, allocations: 34.56 kB / 0.9684 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 2.023e-06/0.9674, allocations: 2.25 kB / 0.9684 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.004795/0.9722, allocations: 1.1 MB / 0.9695 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.9723, allocations: 77.11 kB / 0.9695 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/0.973, allocations: 0.5535 MB / 0.9701 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.9731, allocations: 33.7 kB / 0.9701 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.9733, allocations: 299.4 kB / 0.9704 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.9734, allocations: 47.47 kB / 0.9704 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.9736, allocations: 57.61 kB / 0.9705 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9737, allocations: 354.8 kB / 0.9708 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.9743, allocations: 199.8 kB / 0.971 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.975, allocations: 279.8 kB / 0.9713 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.9761, allocations: 419.7 kB / 0.9717 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9761, allocations: 0 / 0.9717 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002572/0.9786, allocations: 0.7433 MB / 0.9724 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9787, allocations: 4 kB / 0.9724 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.9787, allocations: 4 kB / 0.9724 GB, free: 9.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.9793, allocations: 176.8 kB / 0.9726 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.9798, allocations: 75.89 kB / 0.9727 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.9837, allocations: 2.236 MB / 0.9748 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.9843, allocations: 79.47 kB / 0.9749 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.9844, allocations: 8 kB / 0.9749 GB, free: 6.484 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.0002835/0.9847, allocations: 193.7 kB / 0.9751 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.9848, allocations: 51.44 kB / 0.9752 GB, free: 6.234 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.9849, allocations: 55.89 kB / 0.9752 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9849, allocations: 0 / 0.9752 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.9849, allocations: 0 / 0.9752 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.985, allocations: 3.984 kB / 0.9752 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.9881, allocations: 1.137 MB / 0.9763 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9881, allocations: 7.812 kB / 0.9763 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.9884, allocations: 47.88 kB / 0.9764 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.9889, allocations: 176.7 kB / 0.9765 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.989, allocations: 11.75 kB / 0.9766 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.9926, allocations: 2.188 MB / 0.9787 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9926, allocations: 0 / 0.9787 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.995, allocations: 0.7118 MB / 0.9794 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.9953, allocations: 164.5 kB / 0.9795 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.9955, allocations: 0 / 0.9795 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.996, allocations: 59.88 kB / 0.9796 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.9961, allocations: 7.984 kB / 0.9796 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.9962, allocations: 18.17 kB / 0.9796 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005164/0.9967, allocations: 394.8 kB / 0.98 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9967, allocations: 4 kB / 0.98 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007095/0.9974, allocations: 179.8 kB / 0.9802 GB, free: 0.8438 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.0004626/0.9979, allocations: 174.4 kB / 0.9803 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.9995, allocations: 0.534 MB / 0.9809 GB, free: 132 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 0.0001301/0.9996, allocations: 4.375 kB / 0.9809 GB, free: 128 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007816/1, allocations: 302.6 kB / 0.9812 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.002, allocations: 310.3 kB / 0.9815 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/1.005, allocations: 1.065 MB / 0.9825 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/1.005, allocations: 0.8621 MB / 0.9833 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003887/1.006, allocations: 105.9 kB / 0.9834 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/1.006, allocations: 39.42 kB / 0.9835 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/1.006, allocations: 3.938 kB / 0.9835 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.02168/1.028, allocations: 12.41 MB / 0.9956 GB, free: 1.277 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)