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.8858/0.8858, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001217/0.001217, allocations: 173 kB / 182.2 MB, free: 9.457 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.609/1.609, 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.001001/0.001, allocations: 88.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.001839/0.001839, allocations: 275 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.923e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5105, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.832/5.343, allocations: 1.831 GB / 2.589 GB, free: 186.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/5.343, allocations: 95.31 kB / 2.589 GB, free: 186.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.057/8.4, allocations: 0.9703 GB / 3.559 GB, free: 27.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.907e-06/8.4, allocations: 0 / 3.559 GB, free: 27.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002038/8.4, allocations: 31.92 kB / 3.559 GB, free: 27.25 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.003009/8.403, allocations: 1.159 MB / 3.56 GB, free: 26.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/8.403, allocations: 12.03 kB / 3.56 GB, free: 26.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/8.405, allocations: 190.4 kB / 3.561 GB, free: 25.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/8.408, allocations: 1.097 MB / 3.562 GB, free: 24.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/8.408, allocations: 16 kB / 3.562 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/8.408, allocations: 39.98 kB / 3.562 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008129/8.409, allocations: 466.3 kB / 3.562 GB, free: 24.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/8.409, allocations: 0.6776 MB / 3.563 GB, free: 23.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/8.41, allocations: 7.938 kB / 3.563 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/8.41, allocations: 0 / 3.563 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/8.41, allocations: 16 kB / 3.563 GB, free: 23.39 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.005563/8.415, allocations: 4.465 MB / 3.567 GB, free: 18.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/8.416, allocations: 438.5 kB / 3.568 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/8.416, allocations: 239.8 kB / 3.568 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/8.416, allocations: 198.2 kB / 3.568 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/8.417, allocations: 259.2 kB / 3.568 GB, free: 17.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/8.417, allocations: 4 kB / 3.568 GB, free: 17.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001928/8.419, allocations: 0.746 MB / 3.569 GB, free: 16.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/8.419, allocations: 81.11 kB / 3.569 GB, free: 16.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/8.42, allocations: 0.8599 MB / 3.57 GB, free: 15.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/8.42, allocations: 29.7 kB / 3.57 GB, free: 15.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/8.421, allocations: 484.2 kB / 3.57 GB, free: 15.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/8.421, allocations: 106.5 kB / 3.57 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/8.421, allocations: 0 / 3.57 GB, free: 15.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/8.421, allocations: 330 kB / 3.571 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/8.421, allocations: 177 kB / 3.571 GB, free: 14.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/8.421, allocations: 499.8 kB / 3.571 GB, free: 13.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/8.422, allocations: 270 kB / 3.572 GB, free: 13.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/8.422, allocations: 0 / 3.572 GB, free: 13.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001499/8.423, allocations: 0.8789 MB / 3.573 GB, free: 12.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004506/8.424, allocations: 2.134 MB / 3.575 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/8.424, allocations: 8 kB / 3.575 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/8.424, allocations: 242.4 kB / 3.575 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/8.424, allocations: 63.91 kB / 3.575 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/8.426, allocations: 1.185 MB / 3.576 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/8.427, allocations: 79.53 kB / 3.576 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/8.427, allocations: 27.98 kB / 3.576 GB, free: 8.812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/8.427, allocations: 4 kB / 3.576 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009434/8.428, allocations: 0.5782 MB / 3.577 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/8.428, allocations: 8 kB / 3.577 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/8.428, allocations: 213.8 kB / 3.577 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/8.428, allocations: 63.91 kB / 3.577 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/8.431, allocations: 2.864 MB / 3.58 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008592/8.432, allocations: 79.67 kB / 3.58 GB, free: 4.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/8.432, allocations: 27.94 kB / 3.58 GB, free: 4.852 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.0001689/8.432, allocations: 124.8 kB / 3.58 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/8.432, allocations: 98.78 kB / 3.58 GB, free: 4.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/8.433, allocations: 0.6474 MB / 3.581 GB, free: 3.961 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/8.433, allocations: 4 kB / 3.581 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/8.433, allocations: 3.953 kB / 3.581 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/8.433, allocations: 0 / 3.581 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/8.436, allocations: 1.473 MB / 3.582 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/8.436, allocations: 0 / 3.582 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/8.436, allocations: 23.98 kB / 3.582 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/8.436, allocations: 207.8 kB / 3.582 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/8.436, allocations: 7.938 kB / 3.582 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/8.437, allocations: 1.053 MB / 3.583 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/8.437, allocations: 0 / 3.583 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/8.438, allocations: 0.8395 MB / 3.584 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4317/8.869, allocations: 209.3 kB / 3.584 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/8.87, allocations: 4.594 kB / 3.584 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/8.871, allocations: 55.17 kB / 3.585 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/8.871, allocations: 37.86 kB / 3.585 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/8.871, allocations: 11.52 kB / 3.585 GB, free: 190.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001177/8.872, allocations: 0.6675 MB / 3.585 GB, free: 190.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.872, allocations: 0.7812 kB / 3.585 GB, free: 190.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001804/8.874, allocations: 481.1 kB / 3.586 GB, free: 190.7 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.0018/8.876, allocations: 1.103 MB / 3.587 GB, free: 190.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00246/8.878, allocations: 1.115 MB / 3.588 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/8.878, allocations: 0.7812 kB / 3.588 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/8.879, allocations: 245.2 kB / 3.588 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/8.881, allocations: 397.4 kB / 3.588 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/8.883, allocations: 1.324 MB / 3.59 GB, free: 189.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/8.884, allocations: 1.206 MB / 3.591 GB, free: 189.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001872/8.886, allocations: 0.6803 MB / 3.592 GB, free: 189.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/8.886, allocations: 40.41 kB / 3.592 GB, free: 189.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/8.886, allocations: 0 / 3.592 GB, free: 189.1 MB / 0.698 GB Notification: Performance of Templates: time 0.03324/8.919, allocations: 22.11 MB / 3.613 GB, free: 188.8 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)