Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9049/0.9049, allocations: 140 MB / 156 MB, free: 8.406 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 183.6 kB / 188.5 MB, free: 8.98 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 426.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 94.28 kB / 0.4945 GB, free: 7.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001957/0.001957, allocations: 264.3 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005662/0.0005663, allocations: 24 kB / 0.662 GB, free: 6.703 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5135, allocations: 79.29 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.39/5.903, allocations: 2.036 GB / 2.776 GB, free: 173.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/5.904, allocations: 99.94 kB / 2.776 GB, free: 173.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.766/9.669, allocations: 0.9717 GB / 3.747 GB, free: 178.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.826e-06/9.669, allocations: 3.75 kB / 3.747 GB, free: 178.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001909/9.669, allocations: 31.69 kB / 3.747 GB, free: 178.4 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004102/9.674, allocations: 1.42 MB / 3.749 GB, free: 177.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/9.674, allocations: 9.188 kB / 3.749 GB, free: 177.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/9.675, allocations: 188.9 kB / 3.749 GB, free: 177.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/9.678, allocations: 1.156 MB / 3.75 GB, free: 177.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/9.678, allocations: 48.72 kB / 3.75 GB, free: 177.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/9.678, allocations: 62.75 kB / 3.75 GB, free: 177.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/9.679, allocations: 0.7642 MB / 3.751 GB, free: 177.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/9.679, allocations: 14.22 kB / 3.751 GB, free: 177.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/9.679, allocations: 19.5 kB / 3.751 GB, free: 177.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/9.679, allocations: 14.84 kB / 3.751 GB, free: 177.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/9.68, allocations: 0.516 MB / 3.751 GB, free: 177.1 MB / 0.6667 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.004284/9.685, allocations: 4.587 MB / 3.756 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/9.685, allocations: 423 kB / 3.756 GB, free: 173.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/9.686, allocations: 247.8 kB / 3.757 GB, free: 173.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/9.686, allocations: 197.7 kB / 3.757 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/9.687, allocations: 284.2 kB / 3.757 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.166e-06/9.687, allocations: 0 / 3.757 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.004723/9.691, allocations: 1.592 MB / 3.759 GB, free: 173.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/9.691, allocations: 88.8 kB / 3.759 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/9.693, allocations: 1.114 MB / 3.76 GB, free: 172.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/9.693, allocations: 32.61 kB / 3.76 GB, free: 172.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/9.693, allocations: 493.2 kB / 3.76 GB, free: 172.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/9.694, allocations: 112.2 kB / 3.76 GB, free: 172.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/9.694, allocations: 6.25 kB / 3.76 GB, free: 172.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001094/9.694, allocations: 323.9 kB / 3.761 GB, free: 172.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/9.694, allocations: 187 kB / 3.761 GB, free: 172.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/9.695, allocations: 0.504 MB / 3.761 GB, free: 172 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/9.695, allocations: 0.5904 MB / 3.762 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/9.695, allocations: 3.938 kB / 3.762 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002117/9.698, allocations: 0.9715 MB / 3.763 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/9.698, allocations: 276.7 kB / 3.763 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/9.698, allocations: 6.562 kB / 3.763 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/9.699, allocations: 345.7 kB / 3.763 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/9.699, allocations: 64.38 kB / 3.764 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/9.701, allocations: 1.085 MB / 3.765 GB, free: 170.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/9.702, allocations: 106.8 kB / 3.765 GB, free: 170.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/9.702, allocations: 26.14 kB / 3.765 GB, free: 170.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/9.702, allocations: 7.844 kB / 3.765 GB, free: 170.8 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/9.703, allocations: 0.7252 MB / 3.765 GB, free: 170.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/9.703, allocations: 3.938 kB / 3.765 GB, free: 170.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/9.704, allocations: 218 kB / 3.766 GB, free: 170.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/9.704, allocations: 63.89 kB / 3.766 GB, free: 170.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/9.708, allocations: 2.986 MB / 3.769 GB, free: 169.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/9.708, allocations: 94.75 kB / 3.769 GB, free: 169.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/9.708, allocations: 29.22 kB / 3.769 GB, free: 169.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005774/9.709, allocations: 465.2 kB / 3.769 GB, free: 169 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/9.709, allocations: 101.3 kB / 3.769 GB, free: 168.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/9.71, allocations: 0.7256 MB / 3.77 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/9.71, allocations: 0 / 3.77 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/9.71, allocations: 7.469 kB / 3.77 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/9.71, allocations: 3.797 kB / 3.77 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/9.713, allocations: 1.599 MB / 3.772 GB, free: 167.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/9.713, allocations: 6.969 kB / 3.772 GB, free: 167.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/9.713, allocations: 26.78 kB / 3.772 GB, free: 167.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/9.713, allocations: 254 kB / 3.772 GB, free: 167.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/9.713, allocations: 11.58 kB / 3.772 GB, free: 167.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008098/9.714, allocations: 1.022 MB / 3.773 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/9.714, allocations: 3.969 kB / 3.773 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/9.715, allocations: 0.8379 MB / 3.774 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/9.716, allocations: 217.4 kB / 3.774 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/9.716, allocations: 10.25 kB / 3.774 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/9.716, allocations: 57.95 kB / 3.774 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/9.717, allocations: 34.89 kB / 3.774 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/9.717, allocations: 7.719 kB / 3.774 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009698/9.718, allocations: 0.7869 MB / 3.775 GB, free: 166.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.72e-07/9.718, allocations: 0 / 3.775 GB, free: 166.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001648/9.719, allocations: 0.5169 MB / 3.775 GB, free: 166.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/9.721, allocations: 0.9592 MB / 3.776 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002285/9.723, allocations: 1.189 MB / 3.777 GB, free: 165.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/9.723, allocations: 0 / 3.777 GB, free: 165.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005505/9.724, allocations: 282.2 kB / 3.778 GB, free: 165.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/9.726, allocations: 468.1 kB / 3.778 GB, free: 165.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/9.729, allocations: 1.991 MB / 3.78 GB, free: 164.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/9.73, allocations: 1.184 MB / 3.781 GB, free: 163.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009993/9.731, allocations: 320 kB / 3.781 GB, free: 163.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/9.731, allocations: 58.52 kB / 3.782 GB, free: 163.5 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/9.731, allocations: 2.844 kB / 3.782 GB, free: 163.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.04741/9.778, allocations: 29.63 MB / 3.81 GB, free: 137.2 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)