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 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.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.8415/0.8415, 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.001281/0.001281, allocations: 186.2 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.598/1.598, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009955/0.0009956, allocations: 92.2 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 283.1 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.887e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.493, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.686/5.179, allocations: 1.832 GB / 2.596 GB, free: 246.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/5.179, allocations: 102.9 kB / 2.596 GB, free: 246.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.033/8.212, allocations: 0.9806 GB / 3.577 GB, free: 55.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/8.212, allocations: 0 / 3.577 GB, free: 55.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.47e-05/8.212, allocations: 27.98 kB / 3.577 GB, free: 55.41 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001591/8.214, allocations: 1.15 MB / 3.578 GB, free: 54.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/8.214, allocations: 19.97 kB / 3.578 GB, free: 54.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/8.215, allocations: 174.5 kB / 3.578 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/8.217, allocations: 1.101 MB / 3.579 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/8.217, allocations: 48.98 kB / 3.579 GB, free: 52.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/8.217, allocations: 64 kB / 3.579 GB, free: 52.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008765/8.218, allocations: 0.7339 MB / 3.58 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/8.218, allocations: 3.938 kB / 3.58 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/8.218, allocations: 31.94 kB / 3.58 GB, free: 51.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/8.218, allocations: 12 kB / 3.58 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/8.219, allocations: 478.6 kB / 3.581 GB, free: 51.43 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.003161/8.222, allocations: 4.582 MB / 3.585 GB, free: 46.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/8.222, allocations: 386.5 kB / 3.586 GB, free: 46.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/8.223, allocations: 224.7 kB / 3.586 GB, free: 45.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/8.223, allocations: 198.2 kB / 3.586 GB, free: 45.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/8.223, allocations: 271.3 kB / 3.586 GB, free: 45.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/8.223, allocations: 0 / 3.586 GB, free: 45.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001165/8.224, allocations: 0.668 MB / 3.587 GB, free: 44.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/8.224, allocations: 81.11 kB / 3.587 GB, free: 44.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/8.225, allocations: 0.9767 MB / 3.588 GB, free: 43.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/8.225, allocations: 41.7 kB / 3.588 GB, free: 43.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/8.226, allocations: 0.4926 MB / 3.588 GB, free: 43.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/8.226, allocations: 98.56 kB / 3.589 GB, free: 42.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/8.226, allocations: 12 kB / 3.589 GB, free: 42.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/8.226, allocations: 322 kB / 3.589 GB, free: 42.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/8.226, allocations: 164.8 kB / 3.589 GB, free: 42.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/8.226, allocations: 491.8 kB / 3.589 GB, free: 41.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/8.227, allocations: 286.8 kB / 3.59 GB, free: 41.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/8.227, allocations: 0 / 3.59 GB, free: 41.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001076/8.228, allocations: 0.8612 MB / 3.591 GB, free: 40.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003787/8.228, allocations: 2.128 MB / 3.593 GB, free: 38.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/8.228, allocations: 8 kB / 3.593 GB, free: 38.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/8.229, allocations: 258.9 kB / 3.593 GB, free: 38.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/8.229, allocations: 59.91 kB / 3.593 GB, free: 38.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/8.23, allocations: 1.085 MB / 3.594 GB, free: 36.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/8.231, allocations: 103.4 kB / 3.594 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/8.231, allocations: 27.98 kB / 3.594 GB, free: 36.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/8.231, allocations: 4.109 kB / 3.594 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009601/8.232, allocations: 0.6735 MB / 3.595 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/8.232, allocations: 4 kB / 3.595 GB, free: 36.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/8.233, allocations: 217.3 kB / 3.595 GB, free: 35.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/8.233, allocations: 67.84 kB / 3.595 GB, free: 35.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/8.235, allocations: 2.977 MB / 3.598 GB, free: 32.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/8.236, allocations: 91.59 kB / 3.598 GB, free: 32.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/8.236, allocations: 27.98 kB / 3.598 GB, free: 32.59 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 (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.0001606/8.237, allocations: 142.3 kB / 3.598 GB, free: 32.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/8.237, allocations: 98.78 kB / 3.598 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/8.238, allocations: 0.6866 MB / 3.599 GB, free: 31.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/8.238, allocations: 4 kB / 3.599 GB, free: 31.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/8.238, allocations: 0 / 3.599 GB, free: 31.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/8.238, allocations: 192 / 3.599 GB, free: 31.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/8.24, allocations: 1.564 MB / 3.601 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/8.24, allocations: 7.922 kB / 3.601 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/8.24, allocations: 23.98 kB / 3.601 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/8.24, allocations: 249.9 kB / 3.601 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/8.241, allocations: 8 kB / 3.601 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007972/8.241, allocations: 1.023 MB / 3.602 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/8.241, allocations: 4 kB / 3.602 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/8.242, allocations: 0.8854 MB / 3.603 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/8.243, allocations: 215.8 kB / 3.603 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/8.243, allocations: 11.98 kB / 3.603 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/8.243, allocations: 59.8 kB / 3.603 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/8.243, allocations: 31.91 kB / 3.603 GB, free: 27.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/8.243, allocations: 12 kB / 3.603 GB, free: 27.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008244/8.244, allocations: 0.769 MB / 3.604 GB, free: 26.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/8.244, allocations: 0 / 3.604 GB, free: 26.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001548/8.246, allocations: 0.5152 MB / 3.604 GB, free: 26.05 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 (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.001212/8.247, allocations: 0.9673 MB / 3.605 GB, free: 25.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002047/8.249, allocations: 1.148 MB / 3.606 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/8.249, allocations: 0 / 3.606 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/8.25, allocations: 264.9 kB / 3.607 GB, free: 23.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/8.252, allocations: 453.2 kB / 3.607 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/8.253, allocations: 1.366 MB / 3.608 GB, free: 21.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/8.254, allocations: 1.21 MB / 3.61 GB, free: 20.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00164/8.256, allocations: 0.7256 MB / 3.61 GB, free: 19.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/8.256, allocations: 43.44 kB / 3.61 GB, free: 19.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/8.256, allocations: 0 / 3.61 GB, free: 19.77 MB / 0.698 GB Notification: Performance of Templates: time 0.4121/8.668, allocations: 33.84 MB / 3.643 GB, free: 182.7 MB / 0.698 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)