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.001193/0.001193, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.00154/0.00154, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.618/1.618, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.772/1.772, allocations: 292.2 MB / 0.5485 GB, free: 13.69 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.001407/0.001407, allocations: 71.52 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7982/1.11, allocations: 168.7 MB / 0.9476 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006867/1.117, allocations: 4.236 MB / 0.9517 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.118, allocations: 15.31 kB / 0.9517 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/1.119, allocations: 316.7 kB / 0.952 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/1.123, allocations: 0.9248 MB / 0.9529 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/1.127, allocations: 0.7431 MB / 0.9537 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003565/1.131, allocations: 1.272 MB / 0.9549 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/1.132, allocations: 481.9 kB / 0.9554 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/1.135, allocations: 0.6699 MB / 0.956 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/1.137, allocations: 476 kB / 0.9565 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/1.138, allocations: 56.16 kB / 0.9565 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/1.141, allocations: 0.9398 MB / 0.9574 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000702/1.142, allocations: 220.3 kB / 0.9577 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001694/1.144, allocations: 325.9 kB / 0.958 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003558/1.147, allocations: 1.173 MB / 0.9591 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.147, allocations: 1.125 kB / 0.9591 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.168e-06/1.147, allocations: 1.203 kB / 0.9591 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.611e-05/1.147, allocations: 2.906 kB / 0.9591 GB, free: 5.625 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.002508/1.15, allocations: 0.9448 MB / 0.96 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.15, allocations: 12.42 kB / 0.9601 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/1.152, allocations: 266.7 kB / 0.9603 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/1.152, allocations: 476.8 kB / 0.9608 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/1.153, allocations: 89.67 kB / 0.9608 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/1.153, allocations: 37.94 kB / 0.9609 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.154, allocations: 0.6293 MB / 0.9615 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.154, allocations: 4.219 kB / 0.9615 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/1.154, allocations: 18.56 kB / 0.9615 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/1.154, allocations: 21.67 kB / 0.9615 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/1.156, allocations: 0.5539 MB / 0.9621 GB, free: 20.61 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.004462/1.16, allocations: 2.286 MB / 0.9643 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.161, allocations: 287.3 kB / 0.9646 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/1.162, allocations: 185.3 kB / 0.9648 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/1.162, allocations: 8.344 kB / 0.9648 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.162, allocations: 34.06 kB / 0.9648 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/1.162, allocations: 0 / 0.9648 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.005321/1.167, allocations: 1.101 MB / 0.9659 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/1.167, allocations: 81.5 kB / 0.966 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/1.168, allocations: 0.5533 MB / 0.9665 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/1.168, allocations: 29.08 kB / 0.9665 GB, free: 19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/1.168, allocations: 299.7 kB / 0.9668 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/1.169, allocations: 45.73 kB / 0.9669 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/1.169, allocations: 61.39 kB / 0.9669 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.169, allocations: 359.6 kB / 0.9673 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/1.169, allocations: 193.5 kB / 0.9674 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.17, allocations: 275.3 kB / 0.9677 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.171, allocations: 421.9 kB / 0.9681 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.171, allocations: 0 / 0.9681 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002676/1.174, allocations: 0.7412 MB / 0.9688 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.174, allocations: 6.438 kB / 0.9688 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.174, allocations: 2.188 kB / 0.9688 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/1.175, allocations: 189.7 kB / 0.969 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/1.175, allocations: 74.92 kB / 0.9691 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/1.179, allocations: 2.24 MB / 0.9713 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/1.18, allocations: 80.62 kB / 0.9714 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/1.18, allocations: 14.88 kB / 0.9714 GB, free: 16.75 MB / 0.7481 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.0003569/1.18, allocations: 199.4 kB / 0.9716 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.18, allocations: 49.34 kB / 0.9716 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.18, allocations: 52.91 kB / 0.9717 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.18, allocations: 1.094 kB / 0.9717 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.18, allocations: 1.156 kB / 0.9717 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.18, allocations: 0 / 0.9717 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/1.184, allocations: 1.143 MB / 0.9728 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.184, allocations: 1.188 kB / 0.9728 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/1.184, allocations: 43.27 kB / 0.9728 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/1.184, allocations: 175.6 kB / 0.973 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.184, allocations: 14.86 kB / 0.973 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/1.188, allocations: 2.187 MB / 0.9751 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.188, allocations: 1.031 kB / 0.9751 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/1.191, allocations: 0.7122 MB / 0.9758 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/1.191, allocations: 166.7 kB / 0.976 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/1.191, allocations: 1.375 kB / 0.976 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/1.192, allocations: 66.48 kB / 0.9761 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/1.192, allocations: 18.44 kB / 0.9761 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/1.192, allocations: 9.781 kB / 0.9761 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006456/1.193, allocations: 393.8 kB / 0.9765 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.21e-07/1.193, allocations: 5.375 kB / 0.9765 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001021/1.194, allocations: 184.3 kB / 0.9766 GB, free: 14.4 MB / 0.7481 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.0005912/1.194, allocations: 185.7 kB / 0.9768 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.196, allocations: 0.5343 MB / 0.9773 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.196, allocations: 2.281 kB / 0.9773 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008447/1.197, allocations: 309.8 kB / 0.9776 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.199, allocations: 294.9 kB / 0.9779 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/1.202, allocations: 1.242 MB / 0.9791 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.203, allocations: 0.8592 MB / 0.98 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006106/1.204, allocations: 111 kB / 0.9801 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/1.204, allocations: 33.91 kB / 0.9801 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/1.204, allocations: 0 / 0.9801 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.0223/1.226, allocations: 12.31 MB / 0.9921 GB, free: 9.816 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)