Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 182.2 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007701/0.0007702, allocations: 96.53 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 12.42 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2245, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1725/0.3971, allocations: 155.5 MB / 1.053 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5485/0.9457, allocations: 4.081 MB / 1.057 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009115/0.9466, allocations: 14.66 kB / 1.057 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.9475, allocations: 239.4 kB / 1.057 GB, free: 4.219 MB / 0.698 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.002451/0.9499, allocations: 0.8157 MB / 1.058 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.9519, allocations: 0.6146 MB / 1.058 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.9539, allocations: 1.627 MB / 1.06 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.9546, allocations: 381.4 kB / 1.06 GB, free: 4.172 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.9558, allocations: 0.5381 MB / 1.061 GB, free: 4.172 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008547/0.9567, allocations: 478.1 kB / 1.061 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.9568, allocations: 23.22 kB / 1.061 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.9583, allocations: 0.6161 MB / 1.062 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.9586, allocations: 197.1 kB / 1.062 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.9588, allocations: 148 kB / 1.062 GB, free: 4.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.96, allocations: 0.823 MB / 1.063 GB, free: 4.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.9601, allocations: 0 / 1.063 GB, free: 4.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.697e-06/0.9601, allocations: 0 / 1.063 GB, free: 4.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.9601, allocations: 6.906 kB / 1.063 GB, free: 4.059 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001948/0.962, allocations: 0.852 MB / 1.064 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9621, allocations: 8.875 kB / 1.064 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.9636, allocations: 272.3 kB / 1.064 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008696/0.9645, allocations: 483.6 kB / 1.065 GB, free: 19.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.9648, allocations: 103.6 kB / 1.065 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.9649, allocations: 42.36 kB / 1.065 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.9663, allocations: 0.6497 MB / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9663, allocations: 0 / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.9664, allocations: 22.56 kB / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.9664, allocations: 21.02 kB / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.968, allocations: 0.5849 MB / 1.066 GB, free: 19.07 MB / 0.7136 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.004816/0.9728, allocations: 2.324 MB / 1.068 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.9739, allocations: 314.9 kB / 1.069 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.9745, allocations: 188.5 kB / 1.069 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.9746, allocations: 3.516 kB / 1.069 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.9746, allocations: 38.92 kB / 1.069 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.9746, allocations: 0.8438 kB / 1.069 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.005714/0.9804, allocations: 1.181 MB / 1.07 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.9804, allocations: 78.05 kB / 1.07 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/0.9814, allocations: 0.5609 MB / 1.071 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.9815, allocations: 28.11 kB / 1.071 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.9817, allocations: 315.4 kB / 1.071 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.9818, allocations: 39.17 kB / 1.071 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.9818, allocations: 0.9062 kB / 1.071 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9819, allocations: 357.9 kB / 1.071 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.9826, allocations: 207.1 kB / 1.071 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/0.9833, allocations: 307.2 kB / 1.072 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.984, allocations: 212.9 kB / 1.072 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.984, allocations: 2.5 kB / 1.072 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002962/0.987, allocations: 0.7789 MB / 1.073 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.987, allocations: 12.16 kB / 1.073 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.9871, allocations: 6.281 kB / 1.073 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006718/0.9877, allocations: 188.4 kB / 1.073 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.9882, allocations: 83.17 kB / 1.073 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.992, allocations: 2.08 MB / 1.075 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.9928, allocations: 95.33 kB / 1.075 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.9928, allocations: 11.3 kB / 1.075 GB, free: 15.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0003886/0.9932, allocations: 200.5 kB / 1.075 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.9934, allocations: 57.7 kB / 1.075 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.9935, allocations: 52.45 kB / 1.075 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.9935, allocations: 1.188 kB / 1.075 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9935, allocations: 6.484 kB / 1.075 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9935, allocations: 1.531 kB / 1.075 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.9967, allocations: 1.193 MB / 1.077 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.9967, allocations: 0 / 1.077 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.997, allocations: 48.58 kB / 1.077 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/0.9976, allocations: 187 kB / 1.077 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.9976, allocations: 8 kB / 1.077 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/1.001, allocations: 2.047 MB / 1.079 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.001, allocations: 5.031 kB / 1.079 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/1.004, allocations: 0.7601 MB / 1.08 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/1.004, allocations: 178.1 kB / 1.08 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/1.004, allocations: 6.125 kB / 1.08 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/1.005, allocations: 69.42 kB / 1.08 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/1.005, allocations: 11.16 kB / 1.08 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.005, allocations: 16.88 kB / 1.08 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005755/1.006, allocations: 399.3 kB / 1.08 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.006, allocations: 4 kB / 1.08 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007272/1.006, allocations: 163.5 kB / 1.08 GB, free: 13.1 MB / 0.7136 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.0003969/1.007, allocations: 175 kB / 1.081 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001608/1.008, allocations: 0.5612 MB / 1.081 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.008, allocations: 3.172 kB / 1.081 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007827/1.009, allocations: 317.4 kB / 1.081 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.011, allocations: 303.1 kB / 1.082 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/1.014, allocations: 1.315 MB / 1.083 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/1.015, allocations: 0.8681 MB / 1.084 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.015, allocations: 39.53 kB / 1.084 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.041e-06/1.015, allocations: 0 / 1.084 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.01551/1.03, allocations: 11.14 MB / 1.095 GB, free: 10.61 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)