Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8315/0.8315, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 175.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008679/0.0008679, allocations: 88.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 275 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.918e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4286, allocations: 82.76 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.966/5.395, allocations: 1.941 GB / 2.698 GB, free: 80.57 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/5.395, allocations: 86.27 kB / 2.699 GB, free: 80.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.952/7.348, allocations: 396.1 MB / 3.085 GB, free: 190.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/7.348, allocations: 0 / 3.085 GB, free: 190.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.05e-05/7.348, allocations: 15 kB / 3.085 GB, free: 190.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.0025/7.35, allocations: 0.8694 MB / 3.086 GB, free: 189.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/7.35, allocations: 14.59 kB / 3.086 GB, free: 189.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/7.352, allocations: 259.4 kB / 3.086 GB, free: 189.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/7.353, allocations: 490 kB / 3.087 GB, free: 189.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/7.354, allocations: 87.78 kB / 3.087 GB, free: 189.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/7.354, allocations: 24.44 kB / 3.087 GB, free: 189.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007843/7.355, allocations: 390.2 kB / 3.087 GB, free: 189.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/7.356, allocations: 494.8 kB / 3.088 GB, free: 189.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/7.356, allocations: 0 / 3.088 GB, free: 189.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/7.356, allocations: 5.641 kB / 3.088 GB, free: 189.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/7.356, allocations: 16.06 kB / 3.088 GB, free: 189.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.003637/7.359, allocations: 2.034 MB / 3.09 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/7.36, allocations: 143.2 kB / 3.09 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/7.36, allocations: 90.66 kB / 3.09 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/7.36, allocations: 3.938 kB / 3.09 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/7.36, allocations: 30.56 kB / 3.09 GB, free: 188.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/7.36, allocations: 0 / 3.09 GB, free: 188.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001764/7.362, allocations: 430.9 kB / 3.091 GB, free: 188.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/7.362, allocations: 84.7 kB / 3.091 GB, free: 188.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/7.362, allocations: 343.6 kB / 3.091 GB, free: 188.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/7.362, allocations: 29.58 kB / 3.091 GB, free: 188.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/7.362, allocations: 313.3 kB / 3.091 GB, free: 188.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/7.362, allocations: 40.09 kB / 3.091 GB, free: 188.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/7.362, allocations: 0 / 3.091 GB, free: 188.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/7.362, allocations: 344.1 kB / 3.092 GB, free: 187.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/7.363, allocations: 108.3 kB / 3.092 GB, free: 187.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/7.363, allocations: 183.5 kB / 3.092 GB, free: 187.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/7.363, allocations: 130.5 kB / 3.092 GB, free: 187.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/7.363, allocations: 0 / 3.092 GB, free: 187.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001645/7.365, allocations: 0.532 MB / 3.093 GB, free: 187.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/7.365, allocations: 5.25 kB / 3.093 GB, free: 187.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/7.365, allocations: 5.094 kB / 3.093 GB, free: 187.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/7.365, allocations: 132.4 kB / 3.093 GB, free: 187.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/7.366, allocations: 76.83 kB / 3.093 GB, free: 187.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/7.368, allocations: 1.753 MB / 3.094 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/7.368, allocations: 72.41 kB / 3.095 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/7.368, allocations: 14.91 kB / 3.095 GB, free: 186.4 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.0001833/7.369, allocations: 116.5 kB / 3.095 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/7.369, allocations: 43.66 kB / 3.095 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/7.369, allocations: 33.28 kB / 3.095 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/7.369, allocations: 3.531 kB / 3.095 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/7.369, allocations: 3.844 kB / 3.095 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/7.369, allocations: 3.953 kB / 3.095 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/7.371, allocations: 0.8937 MB / 3.096 GB, free: 185.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/7.371, allocations: 0 / 3.096 GB, free: 185.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/7.371, allocations: 48.77 kB / 3.096 GB, free: 185.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/7.372, allocations: 129.2 kB / 3.096 GB, free: 185.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/7.372, allocations: 0 / 3.096 GB, free: 185.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/7.374, allocations: 1.744 MB / 3.098 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/7.374, allocations: 0 / 3.098 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/7.375, allocations: 0.5471 MB / 3.098 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/7.375, allocations: 154.5 kB / 3.098 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/7.376, allocations: 0 / 3.098 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/7.376, allocations: 63.56 kB / 3.098 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/7.376, allocations: 14.34 kB / 3.098 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/7.376, allocations: 16.5 kB / 3.098 GB, free: 184.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003334/7.377, allocations: 266.9 kB / 3.099 GB, free: 184.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.377, allocations: 0 / 3.099 GB, free: 184.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001132/7.378, allocations: 260.8 kB / 3.099 GB, free: 184.3 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 () * 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.001882/7.38, allocations: 1.139 MB / 3.1 GB, free: 184.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006912/7.38, allocations: 345 kB / 3.1 GB, free: 184 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/7.38, allocations: 0 / 3.1 GB, free: 184 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/7.381, allocations: 216.4 kB / 3.1 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/7.382, allocations: 190.3 kB / 3.101 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/7.384, allocations: 0.6793 MB / 3.101 GB, free: 183.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/7.385, allocations: 0.8704 MB / 3.102 GB, free: 183 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00044/7.385, allocations: 78.83 kB / 3.102 GB, free: 183 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/7.385, allocations: 26.12 kB / 3.102 GB, free: 182.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/7.385, allocations: 0 / 3.102 GB, free: 182.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02409/7.409, allocations: 13.84 MB / 3.116 GB, free: 182.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)