Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8756/0.8756, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001611/0.001611, allocations: 187.4 kB / 191.5 MB, free: 5.758 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.557/1.557, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.0009111/0.0009111, allocations: 92.33 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 273.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 13.38 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.102/5.336, allocations: 1.832 GB / 2.606 GB, free: 246.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/5.337, allocations: 96.62 kB / 2.606 GB, free: 246.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.409/11.75, allocations: 1.814 GB / 4.42 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/11.75, allocations: 7.938 kB / 4.42 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.724e-05/11.75, allocations: 27.98 kB / 4.42 GB, free: 107.6 MB / 0.7136 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.002753/11.75, allocations: 1.436 MB / 4.421 GB, free: 106.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/11.75, allocations: 8.031 kB / 4.421 GB, free: 106.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007246/11.75, allocations: 189.3 kB / 4.422 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/11.75, allocations: 1.104 MB / 4.423 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/11.75, allocations: 49 kB / 4.423 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/11.75, allocations: 59.95 kB / 4.423 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/11.75, allocations: 0.7693 MB / 4.424 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/11.75, allocations: 0 / 4.424 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/11.75, allocations: 24 kB / 4.424 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/11.75, allocations: 12 kB / 4.424 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/11.75, allocations: 0.511 MB / 4.424 GB, free: 103.3 MB / 0.7136 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.004185/11.76, allocations: 4.603 MB / 4.429 GB, free: 98.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/11.76, allocations: 414.5 kB / 4.429 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/11.76, allocations: 198.2 kB / 4.429 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/11.76, allocations: 300.9 kB / 4.429 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/11.76, allocations: 4 kB / 4.429 GB, free: 97.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.002813/11.76, allocations: 1.211 MB / 4.431 GB, free: 96.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/11.76, allocations: 85.05 kB / 4.431 GB, free: 96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/11.76, allocations: 0.9915 MB / 4.432 GB, free: 94.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/11.76, allocations: 37.7 kB / 4.432 GB, free: 94.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/11.76, allocations: 0.4926 MB / 4.432 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/11.76, allocations: 110.5 kB / 4.432 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/11.76, allocations: 4 kB / 4.432 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/11.76, allocations: 322 kB / 4.433 GB, free: 94.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/11.76, allocations: 188.7 kB / 4.433 GB, free: 93.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/11.76, allocations: 0.5046 MB / 4.433 GB, free: 93.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/11.77, allocations: 283.3 kB / 4.434 GB, free: 92.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/11.77, allocations: 4 kB / 4.434 GB, free: 92.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001287/11.77, allocations: 0.9084 MB / 4.434 GB, free: 91.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005407/11.77, allocations: 2.135 MB / 4.437 GB, free: 89.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/11.77, allocations: 8 kB / 4.437 GB, free: 89.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/11.77, allocations: 224.5 kB / 4.437 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/11.77, allocations: 59.91 kB / 4.437 GB, free: 89.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008042/11.77, allocations: 1.009 MB / 4.438 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/11.77, allocations: 107.4 kB / 4.438 GB, free: 88.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/11.77, allocations: 24 kB / 4.438 GB, free: 88.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/11.77, allocations: 7.938 kB / 4.438 GB, free: 88.21 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/11.77, allocations: 0.7312 MB / 4.439 GB, free: 87.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/11.77, allocations: 8 kB / 4.439 GB, free: 87.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/11.77, allocations: 209.5 kB / 4.439 GB, free: 87.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/11.77, allocations: 63.91 kB / 4.439 GB, free: 87.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/11.77, allocations: 3.156 MB / 4.442 GB, free: 83.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008428/11.78, allocations: 99.52 kB / 4.442 GB, free: 83.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/11.78, allocations: 24 kB / 4.442 GB, free: 83.76 MB / 0.7136 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006515/11.78, allocations: 467 kB / 4.443 GB, free: 83.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/11.78, allocations: 106.8 kB / 4.443 GB, free: 83.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/11.78, allocations: 0.7138 MB / 4.443 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/11.78, allocations: 0 / 4.443 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/11.78, allocations: 4 kB / 4.443 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/11.78, allocations: 3.984 kB / 4.443 GB, free: 82.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/11.78, allocations: 1.6 MB / 4.445 GB, free: 80.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/11.78, allocations: 4.219 kB / 4.445 GB, free: 80.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/11.78, allocations: 31.98 kB / 4.445 GB, free: 80.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/11.78, allocations: 236.3 kB / 4.445 GB, free: 80.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/11.78, allocations: 8 kB / 4.445 GB, free: 80.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006527/11.78, allocations: 0.9731 MB / 4.446 GB, free: 79.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/11.78, allocations: 7.969 kB / 4.446 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/11.78, allocations: 0.9133 MB / 4.447 GB, free: 78.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/11.78, allocations: 215.8 kB / 4.447 GB, free: 78.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/11.78, allocations: 15.94 kB / 4.447 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/11.78, allocations: 51.86 kB / 4.447 GB, free: 78.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/11.78, allocations: 35.83 kB / 4.447 GB, free: 78.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/11.78, allocations: 16 kB / 4.447 GB, free: 78.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008303/11.78, allocations: 0.7799 MB / 4.448 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/11.78, allocations: 4 kB / 4.448 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001633/11.79, allocations: 0.5113 MB / 4.449 GB, free: 76.85 MB / 0.7136 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/11.79, allocations: 0.9676 MB / 4.45 GB, free: 75.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001918/11.79, allocations: 1.065 MB / 4.451 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/11.79, allocations: 0 / 4.451 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/11.79, allocations: 234.7 kB / 4.451 GB, free: 74.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/11.79, allocations: 467 kB / 4.451 GB, free: 74.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/11.79, allocations: 1.974 MB / 4.453 GB, free: 72.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/11.79, allocations: 1.2 MB / 4.454 GB, free: 70.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009518/11.8, allocations: 327.8 kB / 4.455 GB, free: 70.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/11.8, allocations: 55.44 kB / 4.455 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/11.8, allocations: 0 / 4.455 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.04059/11.84, allocations: 29.73 MB / 4.484 GB, free: 40.93 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)