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.941/0.941, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001187/0.001187, allocations: 176.9 kB / 182.2 MB, free: 9.449 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.588/1.588, 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.0009192/0.0009193, allocations: 84.11 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 275.4 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.908e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.5562, allocations: 82.77 MB / 0.7574 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.132/5.688, allocations: 1.831 GB / 2.589 GB, free: 186.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/5.689, allocations: 91.33 kB / 2.589 GB, free: 186.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.08/11.77, allocations: 1.794 GB / 4.383 GB, free: 5.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/11.77, allocations: 0 / 4.383 GB, free: 5.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001587/11.77, allocations: 35.98 kB / 4.383 GB, free: 5.195 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.002721/11.77, allocations: 1.141 MB / 4.384 GB, free: 3.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/11.77, allocations: 15.97 kB / 4.384 GB, free: 3.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/11.77, allocations: 194.4 kB / 4.384 GB, free: 3.789 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/11.78, allocations: 1.093 MB / 4.386 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/11.78, allocations: 16 kB / 4.386 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/11.78, allocations: 40 kB / 4.386 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007029/11.78, allocations: 466.3 kB / 4.386 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/11.78, allocations: 0.6698 MB / 4.387 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/11.78, allocations: 3.938 kB / 4.387 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/11.78, allocations: 4 kB / 4.387 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/11.78, allocations: 16 kB / 4.387 GB, free: 1.359 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.4493/12.23, allocations: 4.462 MB / 4.391 GB, free: 190.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/12.23, allocations: 438.8 kB / 4.391 GB, free: 190.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/12.23, allocations: 238.6 kB / 4.392 GB, free: 190.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/12.23, allocations: 193.4 kB / 4.392 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004835/12.23, allocations: 261.9 kB / 4.392 GB, free: 190.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/12.23, allocations: 1.312 kB / 4.392 GB, free: 190.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.002035/12.23, allocations: 0.7584 MB / 4.393 GB, free: 190.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/12.23, allocations: 81.89 kB / 4.393 GB, free: 190.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/12.23, allocations: 0.8519 MB / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/12.23, allocations: 28.94 kB / 4.394 GB, free: 190 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/12.23, allocations: 494.1 kB / 4.394 GB, free: 189.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/12.23, allocations: 106.1 kB / 4.394 GB, free: 189.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/12.23, allocations: 0.5625 kB / 4.394 GB, free: 189.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/12.23, allocations: 327.8 kB / 4.395 GB, free: 189.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/12.23, allocations: 176 kB / 4.395 GB, free: 189.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/12.23, allocations: 0.4917 MB / 4.395 GB, free: 189.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/12.23, allocations: 275.2 kB / 4.396 GB, free: 189.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/12.23, allocations: 1.594 kB / 4.396 GB, free: 189.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001782/12.24, allocations: 0.8847 MB / 4.396 GB, free: 189 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003822/12.24, allocations: 2.133 MB / 4.399 GB, free: 186.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/12.24, allocations: 2.812 kB / 4.399 GB, free: 186.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/12.24, allocations: 222.2 kB / 4.399 GB, free: 186.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/12.24, allocations: 62.08 kB / 4.399 GB, free: 186.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009762/12.24, allocations: 1.105 MB / 4.4 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/12.24, allocations: 83.91 kB / 4.4 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/12.24, allocations: 25.36 kB / 4.4 GB, free: 186.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/12.24, allocations: 10.88 kB / 4.4 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/12.24, allocations: 0.5898 MB / 4.401 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/12.24, allocations: 3.969 kB / 4.401 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/12.24, allocations: 202 kB / 4.401 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/12.24, allocations: 58.42 kB / 4.401 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/12.24, allocations: 2.968 MB / 4.404 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/12.24, allocations: 87.75 kB / 4.404 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/12.24, allocations: 23.28 kB / 4.404 GB, free: 184.8 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.0001951/12.24, allocations: 126 kB / 4.404 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/12.24, allocations: 99.8 kB / 4.404 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/12.25, allocations: 0.648 MB / 4.405 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/12.25, allocations: 3.719 kB / 4.405 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/12.25, allocations: 1.781 kB / 4.405 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/12.25, allocations: 3.938 kB / 4.405 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/12.25, allocations: 1.468 MB / 4.406 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/12.25, allocations: 0 / 4.406 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/12.25, allocations: 29.48 kB / 4.406 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/12.25, allocations: 186.2 kB / 4.406 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/12.25, allocations: 7.906 kB / 4.406 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006568/12.25, allocations: 0.9865 MB / 4.407 GB, free: 183.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/12.25, allocations: 3.562 kB / 4.407 GB, free: 183.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/12.25, allocations: 0.8461 MB / 4.408 GB, free: 183.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/12.25, allocations: 221.7 kB / 4.408 GB, free: 183.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/12.25, allocations: 3.344 kB / 4.408 GB, free: 183.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/12.25, allocations: 52.95 kB / 4.408 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/12.25, allocations: 30.11 kB / 4.408 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/12.25, allocations: 17.77 kB / 4.408 GB, free: 183 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009309/12.25, allocations: 0.6606 MB / 4.409 GB, free: 182.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/12.25, allocations: 0.5 kB / 4.409 GB, free: 182.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001813/12.25, allocations: 486.7 kB / 4.41 GB, free: 182.9 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.001389/12.26, allocations: 1.101 MB / 4.411 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001482/12.26, allocations: 0.9907 MB / 4.412 GB, free: 182.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/12.26, allocations: 3.875 kB / 4.412 GB, free: 182.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/12.26, allocations: 198.8 kB / 4.412 GB, free: 182.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/12.26, allocations: 399.6 kB / 4.412 GB, free: 182.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/12.26, allocations: 1.325 MB / 4.413 GB, free: 182.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/12.26, allocations: 1.206 MB / 4.415 GB, free: 181.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001671/12.26, allocations: 0.6469 MB / 4.415 GB, free: 181.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/12.26, allocations: 38.56 kB / 4.415 GB, free: 181.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/12.26, allocations: 0 / 4.415 GB, free: 181.3 MB / 0.698 GB Notification: Performance of Templates: time 0.03287/12.3, allocations: 22.42 MB / 4.437 GB, free: 180.9 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)