Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.895/2.895, allocations: 287.5 MB / 302.4 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001268, allocations: 169.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 99.77 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006406, allocations: 11.59 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.215, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.8874/1.102, allocations: 146.7 MB / 1.122 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006744/1.109, allocations: 3.358 MB / 1.125 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/1.11, allocations: 9.188 kB / 1.125 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/1.111, allocations: 109.1 kB / 1.125 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/1.112, allocations: 396.2 kB / 1.125 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/1.114, allocations: 369.2 kB / 1.126 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004333/1.119, allocations: 3 MB / 1.129 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/1.12, allocations: 0.6877 MB / 1.129 GB, free: 200 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/1.123, allocations: 0.8696 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/1.125, allocations: 0.7334 MB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002257/1.125, allocations: 37.14 kB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/1.128, allocations: 0.5495 MB / 1.132 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006349/1.128, allocations: 281 kB / 1.132 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005815/1.129, allocations: 231.6 kB / 1.132 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/1.131, allocations: 1.027 MB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.131, allocations: 4 kB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.376e-06/1.131, allocations: 0 / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.498e-05/1.131, allocations: 3.375 kB / 1.133 GB, free: 15.75 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.003527/1.135, allocations: 1.305 MB / 1.134 GB, free: 14.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.135, allocations: 13.31 kB / 1.134 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/1.137, allocations: 188.8 kB / 1.134 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/1.141, allocations: 0.8018 MB / 1.135 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/1.141, allocations: 42.09 kB / 1.135 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/1.142, allocations: 59.72 kB / 1.135 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/1.145, allocations: 0.791 MB / 1.136 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/1.145, allocations: 5.531 kB / 1.136 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.145, allocations: 21.47 kB / 1.136 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.145, allocations: 14.38 kB / 1.136 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/1.148, allocations: 0.541 MB / 1.137 GB, free: 14.25 MB / 0.698 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.007111/1.155, allocations: 4.614 MB / 1.141 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/1.156, allocations: 430.3 kB / 1.142 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/1.157, allocations: 247.6 kB / 1.142 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/1.157, allocations: 198.9 kB / 1.142 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007823/1.158, allocations: 298.1 kB / 1.142 GB, free: 10.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.025e-06/1.158, allocations: 1.25 kB / 1.142 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00694/1.165, allocations: 1.341 MB / 1.144 GB, free: 9.719 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/1.165, allocations: 85.73 kB / 1.144 GB, free: 9.621 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/1.168, allocations: 1.113 MB / 1.145 GB, free: 9.266 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/1.168, allocations: 36.77 kB / 1.145 GB, free: 9.234 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/1.169, allocations: 499.3 kB / 1.145 GB, free: 9.016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/1.169, allocations: 106 kB / 1.145 GB, free: 8.941 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/1.169, allocations: 10.16 kB / 1.145 GB, free: 8.941 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.169, allocations: 321.9 kB / 1.146 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/1.17, allocations: 188.7 kB / 1.146 GB, free: 8.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/1.171, allocations: 0.4985 MB / 1.146 GB, free: 8.164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/1.171, allocations: 300.5 kB / 1.147 GB, free: 8.059 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.171, allocations: 1.594 kB / 1.147 GB, free: 8.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003975/1.175, allocations: 0.9835 MB / 1.148 GB, free: 7.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/1.176, allocations: 276.6 kB / 1.148 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.176, allocations: 5.375 kB / 1.148 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/1.178, allocations: 342.6 kB / 1.148 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/1.179, allocations: 65.73 kB / 1.148 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/1.18, allocations: 1.01 MB / 1.149 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/1.182, allocations: 100.8 kB / 1.149 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/1.182, allocations: 33.73 kB / 1.149 GB, free: 6.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.182, allocations: 5.844 kB / 1.149 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002471/1.184, allocations: 0.7308 MB / 1.15 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.184, allocations: 5.594 kB / 1.15 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/1.185, allocations: 219.2 kB / 1.15 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/1.186, allocations: 59.59 kB / 1.15 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/1.192, allocations: 3.111 MB / 1.153 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.193, allocations: 99.48 kB / 1.154 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/1.193, allocations: 20.44 kB / 1.154 GB, free: 4.293 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 () * 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.0009271/1.194, allocations: 474.3 kB / 1.154 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/1.195, allocations: 98.47 kB / 1.154 GB, free: 3.973 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.197, allocations: 0.7206 MB / 1.155 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.197, allocations: 3.188 kB / 1.155 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.197, allocations: 1.031 kB / 1.155 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.197, allocations: 9 kB / 1.155 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/1.201, allocations: 1.621 MB / 1.156 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.201, allocations: 5.281 kB / 1.156 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.202, allocations: 30.45 kB / 1.156 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008676/1.203, allocations: 223.5 kB / 1.157 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/1.203, allocations: 8.531 kB / 1.157 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/1.204, allocations: 0.9789 MB / 1.158 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.204, allocations: 2.188 kB / 1.158 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/1.207, allocations: 0.8531 MB / 1.158 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006652/1.207, allocations: 219.1 kB / 1.159 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.207, allocations: 13.55 kB / 1.159 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/1.208, allocations: 52.08 kB / 1.159 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.209, allocations: 31.45 kB / 1.159 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/1.209, allocations: 12.39 kB / 1.159 GB, free: 1.566 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001718/1.21, allocations: 0.7881 MB / 1.16 GB, free: 1.305 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.02e-07/1.21, allocations: 0 / 1.16 GB, free: 1.305 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002363/1.213, allocations: 451.5 kB / 1.16 GB, free: 1.27 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) * 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.0006195/1.213, allocations: 178.9 kB / 1.16 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003051/1.216, allocations: 1.064 MB / 1.161 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.904e-06/1.217, allocations: 0 / 1.161 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/1.217, allocations: 234.7 kB / 1.161 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/1.221, allocations: 462.9 kB / 1.162 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/1.226, allocations: 1.978 MB / 1.164 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.227, allocations: 1.183 MB / 1.165 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0017/1.229, allocations: 322.2 kB / 1.165 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/1.229, allocations: 63.83 kB / 1.165 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of SimCode: time 1.443e-06/1.229, allocations: 0 / 1.165 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.05091/1.28, allocations: 18.36 MB / 1.183 GB, free: 3.516 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)