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.001148/0.001148, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.658/1.658, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.764/1.764, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00235/0.002351, allocations: 71.84 kB / 0.6722 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3092, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8309/1.14, allocations: 171 MB / 0.9511 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008258/1.148, allocations: 4.246 MB / 0.9552 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/1.15, allocations: 21.59 kB / 0.9553 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/1.151, allocations: 354.9 kB / 0.9556 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/1.154, allocations: 0.9916 MB / 0.9566 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/1.157, allocations: 0.8084 MB / 0.9574 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00241/1.16, allocations: 1.277 MB / 0.9586 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/1.161, allocations: 492.6 kB / 0.9591 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/1.162, allocations: 0.6682 MB / 0.9597 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.164, allocations: 457.7 kB / 0.9602 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/1.164, allocations: 51.38 kB / 0.9602 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/1.166, allocations: 0.9163 MB / 0.9611 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/1.166, allocations: 211.6 kB / 0.9613 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004476/1.167, allocations: 328.4 kB / 0.9616 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/1.169, allocations: 1.135 MB / 0.9627 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.169, allocations: 0 / 0.9627 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/1.169, allocations: 0 / 0.9627 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.068e-05/1.169, allocations: 1.188 kB / 0.9627 GB, free: 0.7617 MB / 0.7169 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.001869/1.171, allocations: 0.9403 MB / 0.9637 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.171, allocations: 12.02 kB / 0.9637 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/1.172, allocations: 266.9 kB / 0.9639 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/1.174, allocations: 494 kB / 0.9644 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/1.174, allocations: 32.91 kB / 0.9644 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/1.174, allocations: 40.53 kB / 0.9645 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.175, allocations: 0.6139 MB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.175, allocations: 1.031 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/1.175, allocations: 21.56 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/1.175, allocations: 19.23 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.177, allocations: 0.5498 MB / 0.9656 GB, free: 15.73 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.004125/1.181, allocations: 2.258 MB / 0.9678 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000983/1.182, allocations: 293.8 kB / 0.9681 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/1.182, allocations: 166.3 kB / 0.9683 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/1.182, allocations: 9.219 kB / 0.9683 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.182, allocations: 37.41 kB / 0.9683 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/1.182, allocations: 0 / 0.9683 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005199/1.188, allocations: 1.08 MB / 0.9694 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.188, allocations: 85.83 kB / 0.9695 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/1.188, allocations: 0.552 MB / 0.97 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/1.189, allocations: 32.39 kB / 0.97 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/1.189, allocations: 302.6 kB / 0.9703 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/1.189, allocations: 46.47 kB / 0.9704 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.189, allocations: 62.17 kB / 0.9704 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.189, allocations: 353.7 kB / 0.9708 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/1.19, allocations: 193.7 kB / 0.9709 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/1.19, allocations: 274.8 kB / 0.9712 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.191, allocations: 409.8 kB / 0.9716 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.191, allocations: 0 / 0.9716 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002697/1.194, allocations: 0.7291 MB / 0.9723 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.194, allocations: 6.406 kB / 0.9723 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.194, allocations: 3.031 kB / 0.9723 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/1.195, allocations: 183.5 kB / 0.9725 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/1.195, allocations: 75.22 kB / 0.9726 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/1.199, allocations: 2.244 MB / 0.9748 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/1.2, allocations: 71.17 kB / 0.9748 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.2, allocations: 7.75 kB / 0.9748 GB, free: 11.44 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 (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.0003629/1.201, allocations: 202.5 kB / 0.975 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.201, allocations: 49.44 kB / 0.9751 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/1.201, allocations: 51.83 kB / 0.9751 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.201, allocations: 2.375 kB / 0.9751 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.201, allocations: 0 / 0.9751 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.201, allocations: 0 / 0.9751 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/1.204, allocations: 1.131 MB / 0.9762 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/1.204, allocations: 64 / 0.9762 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/1.204, allocations: 41.52 kB / 0.9763 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005895/1.205, allocations: 189.7 kB / 0.9764 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/1.205, allocations: 6.953 kB / 0.9765 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/1.209, allocations: 2.183 MB / 0.9786 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.209, allocations: 1.406 kB / 0.9786 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/1.212, allocations: 0.7011 MB / 0.9793 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/1.212, allocations: 172.7 kB / 0.9794 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.212, allocations: 4 kB / 0.9794 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/1.213, allocations: 47.61 kB / 0.9795 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/1.213, allocations: 9.953 kB / 0.9795 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/1.213, allocations: 20.36 kB / 0.9795 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007154/1.214, allocations: 394.9 kB / 0.9799 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.214, allocations: 0 / 0.9799 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009196/1.215, allocations: 184.1 kB / 0.9801 GB, free: 7.543 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 (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.0004802/1.215, allocations: 176.8 kB / 0.9802 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.217, allocations: 0.519 MB / 0.9807 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.217, allocations: 2.531 kB / 0.9807 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007549/1.218, allocations: 303.8 kB / 0.981 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.219, allocations: 310.9 kB / 0.9813 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/1.223, allocations: 1.052 MB / 0.9824 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/1.223, allocations: 0.8625 MB / 0.9832 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004676/1.224, allocations: 104.8 kB / 0.9833 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.224, allocations: 40.58 kB / 0.9833 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/1.224, allocations: 0 / 0.9833 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of Templates: time 0.02373/1.248, allocations: 12.41 MB / 0.9955 GB, free: 15.15 MB / 0.7481 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)