Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8308/0.8308, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 180.8 kB / 187.3 MB, free: 11.87 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.618/1.618, allocations: 221.3 MB / 441.4 MB, free: 4.562 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.000997/0.0009971, allocations: 98.95 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 280.4 kB / 0.5939 GB, free: 7.926 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.948e-05/5.951e-05, allocations: 8 kB / 0.6834 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.516, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.163/5.679, allocations: 1.829 GB / 2.594 GB, free: 219.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/5.679, allocations: 91.91 kB / 2.594 GB, free: 219.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.272/8.951, allocations: 0.9685 GB / 3.562 GB, free: 40.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.694e-06/8.951, allocations: 0 / 3.562 GB, free: 40.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.046e-05/8.951, allocations: 27.98 kB / 3.562 GB, free: 40.63 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001711/8.953, allocations: 1.142 MB / 3.563 GB, free: 39.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/8.953, allocations: 12.03 kB / 3.563 GB, free: 39.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/8.954, allocations: 183.9 kB / 3.564 GB, free: 39.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/8.956, allocations: 1.081 MB / 3.565 GB, free: 38.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/8.956, allocations: 45 kB / 3.565 GB, free: 38.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/8.956, allocations: 60 kB / 3.565 GB, free: 38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/8.957, allocations: 0.7417 MB / 3.566 GB, free: 37.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/8.957, allocations: 7.938 kB / 3.566 GB, free: 37.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/8.957, allocations: 23.94 kB / 3.566 GB, free: 37.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/8.957, allocations: 16 kB / 3.566 GB, free: 37.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/8.958, allocations: 474.6 kB / 3.566 GB, free: 36.68 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.002919/8.961, allocations: 4.59 MB / 3.57 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/8.961, allocations: 379.2 kB / 3.571 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/8.961, allocations: 235.8 kB / 3.571 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/8.961, allocations: 194.2 kB / 3.571 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/8.962, allocations: 272 kB / 3.572 GB, free: 30.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/8.962, allocations: 4 kB / 3.572 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0007385/8.963, allocations: 455.9 kB / 3.572 GB, free: 30.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/8.963, allocations: 81.11 kB / 3.572 GB, free: 30.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/8.964, allocations: 0.9802 MB / 3.573 GB, free: 29.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/8.964, allocations: 41.7 kB / 3.573 GB, free: 28.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/8.964, allocations: 488.5 kB / 3.574 GB, free: 28.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/8.964, allocations: 106.7 kB / 3.574 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/8.964, allocations: 15.94 kB / 3.574 GB, free: 28.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/8.964, allocations: 330 kB / 3.574 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/8.964, allocations: 160.8 kB / 3.574 GB, free: 27.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/8.965, allocations: 492.8 kB / 3.575 GB, free: 27.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/8.965, allocations: 278.8 kB / 3.575 GB, free: 27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/8.965, allocations: 4 kB / 3.575 GB, free: 26.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007218/8.966, allocations: 0.6387 MB / 3.575 GB, free: 26.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003809/8.966, allocations: 2.121 MB / 3.578 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/8.966, allocations: 15.98 kB / 3.578 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/8.966, allocations: 11.95 kB / 3.578 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/8.967, allocations: 295.4 kB / 3.578 GB, free: 23.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/8.97, allocations: 6.079 MB / 3.584 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/8.971, allocations: 99.56 kB / 3.584 GB, free: 17.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/8.971, allocations: 27.98 kB / 3.584 GB, free: 17.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/8.971, allocations: 5.406 kB / 3.584 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005796/8.971, allocations: 0.4933 MB / 3.584 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/8.971, allocations: 4 kB / 3.584 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/8.971, allocations: 11.95 kB / 3.584 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/8.972, allocations: 152.4 kB / 3.585 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/8.972, allocations: 11.94 kB / 3.585 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/8.973, allocations: 95.53 kB / 3.585 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/8.973, allocations: 27.98 kB / 3.585 GB, free: 16.5 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/8.973, allocations: 144.7 kB / 3.585 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/8.973, allocations: 98.78 kB / 3.585 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/8.974, allocations: 462.9 kB / 3.585 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/8.974, allocations: 7.953 kB / 3.585 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/8.974, allocations: 4 kB / 3.585 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/8.974, allocations: 0 / 3.585 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/8.975, allocations: 1.354 MB / 3.587 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/8.975, allocations: 7.984 kB / 3.587 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/8.976, allocations: 151.7 kB / 3.587 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/8.976, allocations: 7.938 kB / 3.587 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/8.976, allocations: 8.219 kB / 3.587 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/8.978, allocations: 6.029 MB / 3.593 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/8.978, allocations: 3.953 kB / 3.593 GB, free: 7.906 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/8.978, allocations: 0.6539 MB / 3.593 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/8.979, allocations: 223.8 kB / 3.594 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.615e-05/8.979, allocations: 8 kB / 3.594 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/8.979, allocations: 59.75 kB / 3.594 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/8.979, allocations: 31.95 kB / 3.594 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/8.979, allocations: 8 kB / 3.594 GB, free: 6.832 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008218/8.98, allocations: 0.7726 MB / 3.594 GB, free: 6.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.98, allocations: 4 kB / 3.594 GB, free: 6.043 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001349/8.981, allocations: 479.7 kB / 3.595 GB, free: 5.574 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/8.983, allocations: 0.9133 MB / 3.596 GB, free: 4.668 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002356/8.985, allocations: 0.9475 MB / 3.597 GB, free: 3.695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/8.985, allocations: 0 / 3.597 GB, free: 3.695 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/8.986, allocations: 260.8 kB / 3.597 GB, free: 3.441 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/8.988, allocations: 467.3 kB / 3.597 GB, free: 2.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/8.99, allocations: 1.375 MB / 3.599 GB, free: 1.562 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/8.991, allocations: 1.199 MB / 3.6 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.411/9.402, allocations: 0.7771 MB / 3.601 GB, free: 188.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/9.402, allocations: 46.62 kB / 3.601 GB, free: 188.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/9.402, allocations: 0 / 3.601 GB, free: 188.4 MB / 0.698 GB Notification: Performance of Templates: time 0.05011/9.452, allocations: 31.9 MB / 3.632 GB, free: 188.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)