Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001103/0.001103, allocations: 92.16 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.001228/0.001229, 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.963/1.963, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7861/0.7861, allocations: 95.63 MB / 366 MB, free: 10.26 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000625/0.0006254, allocations: 16 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3782, allocations: 70.35 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.542/0.9202, allocations: 133.9 MB / 0.6358 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.9277, allocations: 3.943 MB / 0.6397 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.929, allocations: 18.84 kB / 0.6397 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.9299, allocations: 177 kB / 0.6398 GB, free: 1.918 MB / 494.1 MB [/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.001757/0.9317, allocations: 494 kB / 0.6403 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.9343, allocations: 0.5698 MB / 0.6409 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.9365, allocations: 1.206 MB / 0.6421 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.9372, allocations: 280.4 kB / 0.6423 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000935/0.9381, allocations: 378.2 kB / 0.6427 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.9388, allocations: 372.2 kB / 0.643 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.9389, allocations: 14.88 kB / 0.643 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.94, allocations: 343.6 kB / 0.6434 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.9401, allocations: 83.58 kB / 0.6435 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.9405, allocations: 113.6 kB / 0.6436 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.9413, allocations: 495.3 kB / 0.644 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9413, allocations: 0 / 0.644 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9413, allocations: 0 / 0.644 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.9414, allocations: 1.062 kB / 0.644 GB, free: 17.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001146/0.9425, allocations: 0.6913 MB / 0.6447 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9426, allocations: 13.08 kB / 0.6447 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.9428, allocations: 56.53 kB / 0.6448 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.9435, allocations: 397.8 kB / 0.6452 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.9435, allocations: 26.62 kB / 0.6452 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.9436, allocations: 28.66 kB / 0.6452 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.9443, allocations: 378.8 kB / 0.6456 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9443, allocations: 7.234 kB / 0.6456 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.9444, allocations: 17.42 kB / 0.6456 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.9444, allocations: 7.688 kB / 0.6456 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.9449, allocations: 268.3 kB / 0.6459 GB, free: 16.87 MB / 0.4981 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.002036/0.947, allocations: 1.525 MB / 0.6473 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.9475, allocations: 186.3 kB / 0.6475 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.9477, allocations: 88.16 kB / 0.6476 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.9491, allocations: 1.373 MB / 0.649 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.9491, allocations: 36.16 kB / 0.649 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.685e-06/0.9491, allocations: 4 kB / 0.649 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008234/0.9499, allocations: 288.2 kB / 0.6493 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.95, allocations: 107.7 kB / 0.6494 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.9504, allocations: 365.2 kB / 0.6497 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.9504, allocations: 31.39 kB / 0.6497 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.9506, allocations: 223.3 kB / 0.65 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.9506, allocations: 65.58 kB / 0.65 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.9506, allocations: 6.031 kB / 0.65 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9508, allocations: 350.3 kB / 0.6504 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.951, allocations: 72.94 kB / 0.6504 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.9512, allocations: 156.5 kB / 0.6506 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.9514, allocations: 101 kB / 0.6507 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9514, allocations: 0 / 0.6507 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004661/0.9519, allocations: 275.9 kB / 0.6509 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9519, allocations: 8.125 kB / 0.6509 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.9519, allocations: 3.75 kB / 0.651 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9519, allocations: 6.656 kB / 0.651 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.9521, allocations: 59.22 kB / 0.651 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.9521, allocations: 5.844 kB / 0.651 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.9524, allocations: 42.47 kB / 0.6511 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.9524, allocations: 21.58 kB / 0.6511 GB, free: 13.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.9526, allocations: 160.3 kB / 0.6512 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.9527, allocations: 40.16 kB / 0.6513 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.9533, allocations: 264.4 kB / 0.6515 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9533, allocations: 1.594 kB / 0.6515 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9533, allocations: 4.688 kB / 0.6515 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9534, allocations: 3.719 kB / 0.6515 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.9547, allocations: 0.8968 MB / 0.6524 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9547, allocations: 2.312 kB / 0.6524 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.9549, allocations: 43.03 kB / 0.6525 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9549, allocations: 2.844 kB / 0.6525 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.9549, allocations: 9.031 kB / 0.6525 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.9549, allocations: 9.984 kB / 0.6525 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9549, allocations: 3.531 kB / 0.6525 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.9554, allocations: 375.4 kB / 0.6528 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.9556, allocations: 138.8 kB / 0.653 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.9556, allocations: 4.25 kB / 0.653 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.9559, allocations: 30.22 kB / 0.653 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.9559, allocations: 20.16 kB / 0.653 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.956, allocations: 7.938 kB / 0.653 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002606/0.9562, allocations: 256.7 kB / 0.6533 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9563, allocations: 0 / 0.6533 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005856/0.9568, allocations: 135.3 kB / 0.6534 GB, free: 11.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004647/0.9573, allocations: 195.3 kB / 0.6536 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.9578, allocations: 192.6 kB / 0.6538 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9578, allocations: 0 / 0.6538 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.958, allocations: 99.28 kB / 0.6539 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.9592, allocations: 210.6 kB / 0.6541 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.9604, allocations: 0.8266 MB / 0.6549 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.9608, allocations: 0.817 MB / 0.6557 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003225/0.9611, allocations: 77.14 kB / 0.6557 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.9612, allocations: 30.56 kB / 0.6558 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.9612, allocations: 4 kB / 0.6558 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01305/0.9743, allocations: 6.46 MB / 0.6621 GB, free: 10.12 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: