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.8528/0.8528, 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.001108/0.001108, allocations: 183.2 kB / 187.3 MB, free: 11.88 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.653/1.653, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.001206/0.001206, allocations: 99.47 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 273.8 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.18e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5403, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.919/5.459, allocations: 1.832 GB / 2.596 GB, free: 217.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/5.459, allocations: 94.86 kB / 2.596 GB, free: 217.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.23/11.69, allocations: 1.813 GB / 4.409 GB, free: 189.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/11.69, allocations: 0 / 4.409 GB, free: 189.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001069/11.69, allocations: 30.81 kB / 4.409 GB, free: 189.7 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.001988/11.69, allocations: 1.148 MB / 4.41 GB, free: 189.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/11.69, allocations: 11.09 kB / 4.41 GB, free: 189.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/11.69, allocations: 186.4 kB / 4.41 GB, free: 189.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/11.69, allocations: 1.096 MB / 4.412 GB, free: 188.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/11.69, allocations: 43.59 kB / 4.412 GB, free: 188.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-05/11.69, allocations: 64.09 kB / 4.412 GB, free: 188.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/11.7, allocations: 0.7394 MB / 4.412 GB, free: 188.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/11.7, allocations: 3.75 kB / 4.412 GB, free: 188.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/11.7, allocations: 21.72 kB / 4.412 GB, free: 188.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/11.7, allocations: 13.19 kB / 4.412 GB, free: 188.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/11.7, allocations: 480.9 kB / 4.413 GB, free: 188.7 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.003558/11.7, allocations: 4.587 MB / 4.417 GB, free: 185.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/11.7, allocations: 386.8 kB / 4.418 GB, free: 185.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/11.7, allocations: 229.3 kB / 4.418 GB, free: 185.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/11.7, allocations: 199 kB / 4.418 GB, free: 185.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/11.7, allocations: 267.3 kB / 4.418 GB, free: 185 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/11.7, allocations: 2.344 kB / 4.418 GB, free: 185 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00129/11.7, allocations: 0.6689 MB / 4.419 GB, free: 184.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/11.7, allocations: 84.14 kB / 4.419 GB, free: 184.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/11.7, allocations: 0.9756 MB / 4.42 GB, free: 184.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/11.7, allocations: 40.14 kB / 4.42 GB, free: 184.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/11.7, allocations: 490.6 kB / 4.421 GB, free: 184.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/11.7, allocations: 111.5 kB / 4.421 GB, free: 184.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/11.7, allocations: 7.188 kB / 4.421 GB, free: 184.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/11.7, allocations: 326 kB / 4.421 GB, free: 184.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/11.7, allocations: 161.2 kB / 4.421 GB, free: 184.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/11.7, allocations: 495.8 kB / 4.422 GB, free: 183.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/11.71, allocations: 277.1 kB / 4.422 GB, free: 183.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/11.71, allocations: 6.703 kB / 4.422 GB, free: 183.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001211/11.71, allocations: 0.8654 MB / 4.423 GB, free: 183.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004608/11.71, allocations: 2.123 MB / 4.425 GB, free: 181.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/11.71, allocations: 9.516 kB / 4.425 GB, free: 181.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/11.71, allocations: 226.9 kB / 4.425 GB, free: 181.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/11.71, allocations: 69.16 kB / 4.425 GB, free: 181.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008861/11.71, allocations: 0.9953 MB / 4.426 GB, free: 180.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/11.71, allocations: 106.4 kB / 4.426 GB, free: 180.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/11.71, allocations: 22.56 kB / 4.426 GB, free: 180.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/11.71, allocations: 3.375 kB / 4.426 GB, free: 180.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/11.71, allocations: 0.6896 MB / 4.427 GB, free: 180.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/11.71, allocations: 3.969 kB / 4.427 GB, free: 180.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/11.71, allocations: 212.3 kB / 4.427 GB, free: 180.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/11.71, allocations: 72.64 kB / 4.427 GB, free: 180.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/11.71, allocations: 3.075 MB / 4.43 GB, free: 179.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009471/11.72, allocations: 96.2 kB / 4.43 GB, free: 179.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/11.72, allocations: 26.38 kB / 4.43 GB, free: 179.2 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001764/11.72, allocations: 136.3 kB / 4.43 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/11.72, allocations: 105.3 kB / 4.431 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/11.72, allocations: 0.667 MB / 4.431 GB, free: 179 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/11.72, allocations: 3.75 kB / 4.431 GB, free: 179 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/11.72, allocations: 6.984 kB / 4.431 GB, free: 179 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/11.72, allocations: 0 / 4.431 GB, free: 179 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/11.72, allocations: 1.573 MB / 4.433 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/11.72, allocations: 5.562 kB / 4.433 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/11.72, allocations: 28.39 kB / 4.433 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/11.72, allocations: 222.8 kB / 4.433 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/11.72, allocations: 13.03 kB / 4.433 GB, free: 178.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007181/11.72, allocations: 0.9711 MB / 4.434 GB, free: 177.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/11.72, allocations: 5.938 kB / 4.434 GB, free: 177.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/11.72, allocations: 0.8759 MB / 4.435 GB, free: 177.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/11.72, allocations: 216.8 kB / 4.435 GB, free: 177.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/11.72, allocations: 7.688 kB / 4.435 GB, free: 177.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/11.72, allocations: 58.69 kB / 4.435 GB, free: 177.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/11.72, allocations: 28.7 kB / 4.435 GB, free: 177.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/11.72, allocations: 13.28 kB / 4.435 GB, free: 177.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008619/11.72, allocations: 0.7688 MB / 4.436 GB, free: 177.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/11.72, allocations: 0 / 4.436 GB, free: 177.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001679/11.73, allocations: 0.5197 MB / 4.436 GB, free: 177.3 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/11.73, allocations: 0.9715 MB / 4.437 GB, free: 177.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001574/11.73, allocations: 1.024 MB / 4.438 GB, free: 176.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/11.73, allocations: 3.75 kB / 4.438 GB, free: 176.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/11.73, allocations: 214.5 kB / 4.439 GB, free: 176.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/11.73, allocations: 463.4 kB / 4.439 GB, free: 176.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/11.73, allocations: 1.359 MB / 4.44 GB, free: 176.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/11.73, allocations: 1.206 MB / 4.441 GB, free: 175.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002087/11.74, allocations: 0.7345 MB / 4.442 GB, free: 175.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/11.74, allocations: 41.12 kB / 4.442 GB, free: 175.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/11.74, allocations: 2.844 kB / 4.442 GB, free: 175.7 MB / 0.698 GB Notification: Performance of Templates: time 0.07671/11.81, allocations: 34.24 MB / 4.476 GB, free: 174.6 MB / 0.698 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)