Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 182.9 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000726/0.000726, allocations: 80.98 kB / 0.6831 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 11.19 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.386/3.535, allocations: 2.185 GB / 3.086 GB, free: 36.36 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/3.535, allocations: 96.97 kB / 3.086 GB, free: 36.26 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.595/8.13, allocations: 1.733 GB / 4.819 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/8.13, allocations: 0 / 4.819 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.871e-05/8.13, allocations: 27.98 kB / 4.819 GB, free: 14.36 MB / 0.8855 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.002499/8.133, allocations: 1.423 MB / 4.82 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/8.133, allocations: 8.031 kB / 4.82 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/8.133, allocations: 199.3 kB / 4.821 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/8.135, allocations: 1.144 MB / 4.822 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/8.135, allocations: 45.38 kB / 4.822 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/8.135, allocations: 56.38 kB / 4.822 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/8.136, allocations: 0.7737 MB / 4.822 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/8.136, allocations: 11.94 kB / 4.823 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/8.136, allocations: 20 kB / 4.823 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/8.136, allocations: 16 kB / 4.823 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/8.137, allocations: 0.5071 MB / 4.823 GB, free: 9.973 MB / 0.8855 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.002725/8.14, allocations: 4.591 MB / 4.828 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/8.14, allocations: 426.3 kB / 4.828 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/8.141, allocations: 238.9 kB / 4.828 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/8.141, allocations: 198.2 kB / 4.828 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/8.141, allocations: 290.1 kB / 4.829 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/8.141, allocations: 4 kB / 4.829 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.003143/8.144, allocations: 1.341 MB / 4.83 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/8.144, allocations: 85.05 kB / 4.83 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/8.145, allocations: 1.106 MB / 4.831 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/8.145, allocations: 37.7 kB / 4.831 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/8.146, allocations: 0.4883 MB / 4.832 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/8.146, allocations: 110.5 kB / 4.832 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/8.146, allocations: 12 kB / 4.832 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.197e-05/8.146, allocations: 322 kB / 4.832 GB, free: 232 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/8.146, allocations: 184.7 kB / 4.832 GB, free: 48 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3438/8.49, allocations: 0.5003 MB / 4.833 GB, free: 266 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/8.491, allocations: 0.5826 MB / 4.833 GB, free: 265.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/8.491, allocations: 8.125 kB / 4.833 GB, free: 265.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002055/8.493, allocations: 0.977 MB / 4.834 GB, free: 265.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/8.493, allocations: 277.3 kB / 4.834 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/8.493, allocations: 5.688 kB / 4.835 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/8.494, allocations: 333.3 kB / 4.835 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/8.494, allocations: 64.34 kB / 4.835 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007924/8.495, allocations: 1.012 MB / 4.836 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/8.496, allocations: 101 kB / 4.836 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/8.496, allocations: 27.81 kB / 4.836 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/8.496, allocations: 6 kB / 4.836 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/8.497, allocations: 0.7257 MB / 4.837 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/8.497, allocations: 7.031 kB / 4.837 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/8.498, allocations: 212.9 kB / 4.837 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/8.498, allocations: 63.73 kB / 4.837 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/8.501, allocations: 3.088 MB / 4.84 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/8.502, allocations: 99.84 kB / 4.84 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/8.502, allocations: 25.41 kB / 4.84 GB, free: 263.4 MB / 0.8855 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.0005679/8.502, allocations: 470.6 kB / 4.841 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/8.502, allocations: 99.78 kB / 4.841 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/8.503, allocations: 0.7066 MB / 4.841 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/8.503, allocations: 5.781 kB / 4.841 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/8.503, allocations: 5.938 kB / 4.841 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/8.503, allocations: 5.859 kB / 4.841 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/8.506, allocations: 1.61 MB / 4.843 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/8.506, allocations: 5.906 kB / 4.843 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/8.506, allocations: 26.72 kB / 4.843 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/8.506, allocations: 224.1 kB / 4.843 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/8.507, allocations: 9.484 kB / 4.843 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008251/8.507, allocations: 0.9776 MB / 4.844 GB, free: 262.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/8.507, allocations: 2.891 kB / 4.844 GB, free: 262.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/8.509, allocations: 0.8383 MB / 4.845 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/8.509, allocations: 218.5 kB / 4.845 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/8.509, allocations: 11.22 kB / 4.845 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/8.51, allocations: 58.27 kB / 4.845 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/8.51, allocations: 32.7 kB / 4.845 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/8.51, allocations: 17.56 kB / 4.845 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001124/8.511, allocations: 0.7844 MB / 4.846 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/8.511, allocations: 0 / 4.846 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001647/8.512, allocations: 0.5099 MB / 4.847 GB, free: 261.5 MB / 0.8855 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.001358/8.514, allocations: 0.9612 MB / 4.847 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001817/8.516, allocations: 1.051 MB / 4.849 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/8.516, allocations: 0.6562 kB / 4.849 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004512/8.516, allocations: 242.8 kB / 4.849 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/8.518, allocations: 450.5 kB / 4.849 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/8.521, allocations: 1.971 MB / 4.851 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/8.521, allocations: 1.182 MB / 4.852 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009668/8.522, allocations: 333 kB / 4.853 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/8.523, allocations: 63.72 kB / 4.853 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of SimCode: time 5.62e-07/8.523, allocations: 0 / 4.853 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.03801/8.561, allocations: 30.02 MB / 4.882 GB, free: 258.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)