Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.4 MB / 303.7 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 173.7 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 15.81 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2015, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7128/0.9143, allocations: 155.4 MB / 1.132 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00578/0.9202, allocations: 4 MB / 1.136 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000792/0.921, allocations: 18.72 kB / 1.136 GB, free: 428 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.9219, allocations: 262.5 kB / 1.136 GB, free: 332 kB / 0.6823 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.002189/0.9241, allocations: 0.8735 MB / 1.137 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.9261, allocations: 0.6434 MB / 1.137 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.9277, allocations: 1.526 MB / 1.139 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.9283, allocations: 402.7 kB / 1.139 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.9294, allocations: 0.5683 MB / 1.14 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008868/0.9303, allocations: 432.8 kB / 1.14 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.9304, allocations: 21.41 kB / 1.14 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.9321, allocations: 0.9867 MB / 1.141 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.9323, allocations: 180.2 kB / 1.141 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.9326, allocations: 308.9 kB / 1.142 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.9335, allocations: 0.8155 MB / 1.143 GB, free: 14.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9336, allocations: 0 / 1.143 GB, free: 14.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9336, allocations: 1.75 kB / 1.143 GB, free: 14.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.9336, allocations: 3.938 kB / 1.143 GB, free: 14.4 MB / 0.698 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.001417/0.935, allocations: 0.8435 MB / 1.143 GB, free: 13.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.9351, allocations: 8 kB / 1.143 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.9365, allocations: 278.4 kB / 1.144 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.9373, allocations: 497.8 kB / 1.144 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.9377, allocations: 95.16 kB / 1.144 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.9377, allocations: 40.09 kB / 1.144 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.9391, allocations: 0.6302 MB / 1.145 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.9391, allocations: 3.938 kB / 1.145 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.9392, allocations: 22.2 kB / 1.145 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.9393, allocations: 21.7 kB / 1.145 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.941, allocations: 0.5854 MB / 1.146 GB, free: 12.9 MB / 0.698 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.004563/0.9456, allocations: 2.3 MB / 1.148 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.9466, allocations: 311.5 kB / 1.148 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.9472, allocations: 189.7 kB / 1.148 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.9472, allocations: 1.125 kB / 1.148 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.9472, allocations: 41 kB / 1.148 GB, free: 11.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.9473, allocations: 0 / 1.148 GB, free: 11.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.00517/0.9524, allocations: 1.189 MB / 1.149 GB, free: 10.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.9525, allocations: 78.48 kB / 1.15 GB, free: 10.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.9533, allocations: 0.5478 MB / 1.15 GB, free: 10.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.9534, allocations: 30.73 kB / 1.15 GB, free: 10.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.9537, allocations: 308.4 kB / 1.15 GB, free: 10.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.9537, allocations: 38.77 kB / 1.15 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.9538, allocations: 7.594 kB / 1.15 GB, free: 10.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9539, allocations: 353.4 kB / 1.151 GB, free: 9.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/0.9546, allocations: 213.5 kB / 1.151 GB, free: 9.824 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.9553, allocations: 294.8 kB / 1.151 GB, free: 9.672 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.9565, allocations: 448 kB / 1.152 GB, free: 9.496 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9565, allocations: 0.9375 kB / 1.152 GB, free: 9.496 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002711/0.9593, allocations: 0.783 MB / 1.152 GB, free: 9.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.9593, allocations: 5.562 kB / 1.152 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.9593, allocations: 2.938 kB / 1.152 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.96, allocations: 189.4 kB / 1.153 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.9604, allocations: 84.06 kB / 1.153 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004487/0.9649, allocations: 2.197 MB / 1.155 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.9659, allocations: 93.64 kB / 1.155 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.966, allocations: 16.58 kB / 1.155 GB, free: 7.543 MB / 0.698 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.0004527/0.9664, allocations: 183.3 kB / 1.155 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.9666, allocations: 52.78 kB / 1.155 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.9667, allocations: 50.83 kB / 1.155 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9668, allocations: 6.953 kB / 1.155 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9668, allocations: 5.062 kB / 1.155 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9668, allocations: 0 / 1.155 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.9702, allocations: 1.188 MB / 1.156 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9702, allocations: 1.312 kB / 1.156 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.9705, allocations: 47.42 kB / 1.156 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/0.9711, allocations: 193 kB / 1.157 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.9712, allocations: 1.688 kB / 1.157 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.9748, allocations: 2.067 MB / 1.159 GB, free: 5.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9748, allocations: 1.156 kB / 1.159 GB, free: 5.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.9774, allocations: 0.7554 MB / 1.159 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.9779, allocations: 168.3 kB / 1.16 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.978, allocations: 5.422 kB / 1.16 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/0.9786, allocations: 68.59 kB / 1.16 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.9787, allocations: 20.69 kB / 1.16 GB, free: 4.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.9788, allocations: 11.64 kB / 1.16 GB, free: 4.629 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000558/0.9793, allocations: 387.7 kB / 1.16 GB, free: 4.492 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9793, allocations: 0 / 1.16 GB, free: 4.492 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009541/0.9803, allocations: 183.1 kB / 1.16 GB, free: 4.473 MB / 0.698 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.0004377/0.9807, allocations: 185.6 kB / 1.16 GB, free: 4.344 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.983, allocations: 0.6411 MB / 1.161 GB, free: 4.086 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.983, allocations: 5.438 kB / 1.161 GB, free: 4.082 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.9837, allocations: 327.5 kB / 1.161 GB, free: 3.906 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.9853, allocations: 290.4 kB / 1.162 GB, free: 3.812 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.9884, allocations: 1.26 MB / 1.163 GB, free: 3.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.9889, allocations: 0.8605 MB / 1.164 GB, free: 2.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005245/0.9894, allocations: 106.7 kB / 1.164 GB, free: 2.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.9895, allocations: 37.86 kB / 1.164 GB, free: 2.262 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.9895, allocations: 0 / 1.164 GB, free: 2.262 MB / 0.698 GB Notification: Performance of Templates: time 0.02051/1.01, allocations: 11.55 MB / 1.175 GB, free: 12.56 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)