Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8735/0.8735, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001139/0.001139, allocations: 172.9 kB / 182.2 MB, free: 9.441 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.468/1.468, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.001064/0.001064, allocations: 92.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 288.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.501e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5171, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/5.876, allocations: 1.879 GB / 2.636 GB, free: 180.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/5.877, allocations: 87.83 kB / 2.636 GB, free: 180.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.937/7.813, allocations: 456.9 MB / 3.082 GB, free: 150.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.213e-06/7.813, allocations: 0 / 3.082 GB, free: 150.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001549/7.814, allocations: 30.7 kB / 3.082 GB, free: 150.5 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004215/7.818, allocations: 1.245 MB / 3.084 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/7.818, allocations: 8.312 kB / 3.084 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/7.82, allocations: 312.9 kB / 3.084 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/7.823, allocations: 0.8227 MB / 3.085 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/7.823, allocations: 30.66 kB / 3.085 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/7.823, allocations: 49.75 kB / 3.085 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001887/7.825, allocations: 0.7133 MB / 3.085 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/7.827, allocations: 0.821 MB / 3.086 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/7.827, allocations: 0 / 3.086 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/7.827, allocations: 0 / 3.086 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/7.827, allocations: 30.62 kB / 3.086 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/7.833, allocations: 3.275 MB / 3.089 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/7.833, allocations: 447 kB / 3.09 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/7.834, allocations: 249.1 kB / 3.09 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/7.834, allocations: 99.62 kB / 3.09 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/7.834, allocations: 45.12 kB / 3.09 GB, free: 148.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 1.764e-06/7.834, allocations: 2.781 kB / 3.09 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002699/7.837, allocations: 1.316 MB / 3.092 GB, free: 147.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/7.837, allocations: 59.12 kB / 3.092 GB, free: 147.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/7.837, allocations: 0.5125 MB / 3.092 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/7.837, allocations: 25.7 kB / 3.092 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/7.837, allocations: 483.1 kB / 3.093 GB, free: 147.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/7.838, allocations: 167.3 kB / 3.093 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/7.838, allocations: 3.25 kB / 3.093 GB, free: 147.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/7.838, allocations: 379.8 kB / 3.093 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/7.838, allocations: 211 kB / 3.093 GB, free: 147.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/7.838, allocations: 325.5 kB / 3.094 GB, free: 147 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/7.841, allocations: 0.908 MB / 3.095 GB, free: 146.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/7.841, allocations: 1.344 kB / 3.095 GB, free: 146.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001188/7.842, allocations: 0.6917 MB / 3.095 GB, free: 146.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/7.842, allocations: 5.781 kB / 3.095 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/7.842, allocations: 0 / 3.095 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/7.842, allocations: 91.22 kB / 3.095 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/7.843, allocations: 128.6 kB / 3.095 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/7.845, allocations: 2.817 MB / 3.098 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/7.846, allocations: 53.98 kB / 3.098 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/7.846, allocations: 23.25 kB / 3.098 GB, free: 144.4 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001564/7.846, allocations: 117.8 kB / 3.098 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/7.846, allocations: 83.64 kB / 3.098 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/7.846, allocations: 83.41 kB / 3.099 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/7.846, allocations: 6.938 kB / 3.099 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/7.846, allocations: 3.703 kB / 3.099 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007729/7.847, allocations: 0.7762 MB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/7.85, allocations: 1.564 MB / 3.101 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/7.85, allocations: 3.5 kB / 3.101 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/7.85, allocations: 117.4 kB / 3.101 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/7.85, allocations: 61.33 kB / 3.101 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/7.851, allocations: 6.062 kB / 3.101 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/7.852, allocations: 1.535 MB / 3.102 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/7.852, allocations: 3.812 kB / 3.102 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/7.853, allocations: 1.121 MB / 3.104 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/7.854, allocations: 209.4 kB / 3.104 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/7.854, allocations: 6 kB / 3.104 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008448/7.855, allocations: 49.75 kB / 3.104 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/7.855, allocations: 48.33 kB / 3.104 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/7.855, allocations: 33.19 kB / 3.104 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005699/7.856, allocations: 402.4 kB / 3.104 GB, free: 141.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/7.856, allocations: 0 / 3.104 GB, free: 141.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001548/7.857, allocations: 368.5 kB / 3.105 GB, free: 141.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.001985/7.859, allocations: 1.427 MB / 3.106 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009901/7.86, allocations: 0.6988 MB / 3.107 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/7.86, allocations: 0 / 3.107 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/7.861, allocations: 350.2 kB / 3.107 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/7.863, allocations: 454.3 kB / 3.107 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/7.866, allocations: 1.308 MB / 3.109 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/7.866, allocations: 1.1 MB / 3.11 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009341/7.867, allocations: 184.8 kB / 3.11 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/7.868, allocations: 61.5 kB / 3.11 GB, free: 139.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/7.868, allocations: 0 / 3.11 GB, free: 139.6 MB / 0.698 GB Notification: Performance of Templates: time 0.03616/7.904, allocations: 22.22 MB / 3.132 GB, free: 139.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)