Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.7 MB, free: 8.16 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.001685/0.001685, allocations: 186.8 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 0.631 GB, free: 9.855 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.0007003/0.0007003, allocations: 90.28 kB / 0.7444 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 12.97 kB / 0.8675 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.573/0.7815, allocations: 146.7 MB / 1.123 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.784, allocations: 1.646 MB / 1.125 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.7843, allocations: 9.875 kB / 1.125 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.7848, allocations: 118.3 kB / 1.125 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.7861, allocations: 477.2 kB / 1.126 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.787, allocations: 337.8 kB / 1.126 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002819/0.7899, allocations: 3.012 MB / 1.129 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.7911, allocations: 0.7487 MB / 1.13 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.7929, allocations: 0.8808 MB / 1.13 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008763/0.7938, allocations: 0.7031 MB / 1.131 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.7939, allocations: 34.62 kB / 1.131 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.7952, allocations: 0.7932 MB / 1.132 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.7955, allocations: 280.6 kB / 1.132 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.796, allocations: 0.5138 MB / 1.133 GB, free: 16.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009907/0.797, allocations: 1.034 MB / 1.134 GB, free: 16.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.797, allocations: 2.906 kB / 1.134 GB, free: 16.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7971, allocations: 0 / 1.134 GB, free: 16.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.7971, allocations: 0 / 1.134 GB, free: 16.27 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002017/0.7991, allocations: 1.295 MB / 1.135 GB, free: 15.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7991, allocations: 9.719 kB / 1.135 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/0.7998, allocations: 186.1 kB / 1.135 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.8012, allocations: 0.8368 MB / 1.136 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.8013, allocations: 44.94 kB / 1.136 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.8014, allocations: 59.31 kB / 1.136 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.8026, allocations: 0.79 MB / 1.137 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.8026, allocations: 5.562 kB / 1.137 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.8026, allocations: 20.25 kB / 1.137 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.8027, allocations: 17.75 kB / 1.137 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.8036, allocations: 0.5484 MB / 1.137 GB, free: 14.53 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.003898/0.8075, allocations: 4.603 MB / 1.142 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.8082, allocations: 427.8 kB / 1.142 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.8087, allocations: 248.2 kB / 1.143 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/0.809, allocations: 196.4 kB / 1.143 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.8095, allocations: 303.4 kB / 1.143 GB, free: 10.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.8095, allocations: 0 / 1.143 GB, free: 10.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001376/0.8109, allocations: 0.6484 MB / 1.144 GB, free: 9.922 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.811, allocations: 81.27 kB / 1.144 GB, free: 9.828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.8123, allocations: 1.113 MB / 1.145 GB, free: 9.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.8124, allocations: 35.23 kB / 1.145 GB, free: 9.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.8129, allocations: 496.6 kB / 1.145 GB, free: 9.219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/0.813, allocations: 111.2 kB / 1.145 GB, free: 9.141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.813, allocations: 9.25 kB / 1.145 GB, free: 9.141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8132, allocations: 333.8 kB / 1.146 GB, free: 8.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.8135, allocations: 184.4 kB / 1.146 GB, free: 8.781 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.8142, allocations: 0.4967 MB / 1.146 GB, free: 8.359 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.8151, allocations: 0.6033 MB / 1.147 GB, free: 8.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8151, allocations: 2.125 kB / 1.147 GB, free: 8.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001137/0.8163, allocations: 0.6781 MB / 1.148 GB, free: 7.781 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.8165, allocations: 275.4 kB / 1.148 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8165, allocations: 5.094 kB / 1.148 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.8165, allocations: 8.438 kB / 1.148 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.817, allocations: 116.8 kB / 1.148 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.817, allocations: 11.5 kB / 1.148 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.8178, allocations: 103 kB / 1.148 GB, free: 7.379 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.8179, allocations: 22.81 kB / 1.148 GB, free: 7.379 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.8179, allocations: 3.906 kB / 1.148 GB, free: 7.379 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00088/0.8188, allocations: 0.5395 MB / 1.149 GB, free: 7.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8188, allocations: 10.55 kB / 1.149 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.8188, allocations: 12.06 kB / 1.149 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.8192, allocations: 106.1 kB / 1.149 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8192, allocations: 8.031 kB / 1.149 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.8198, allocations: 97.89 kB / 1.149 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.8198, allocations: 21.16 kB / 1.149 GB, free: 7.152 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005459/0.8204, allocations: 474.4 kB / 1.149 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.8205, allocations: 105.5 kB / 1.15 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.8214, allocations: 0.5009 MB / 1.15 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8214, allocations: 4.719 kB / 1.15 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8214, allocations: 4 kB / 1.15 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.8214, allocations: 4.984 kB / 1.15 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.8234, allocations: 1.385 MB / 1.151 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8234, allocations: 2.875 kB / 1.151 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.8237, allocations: 68.23 kB / 1.151 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.8237, allocations: 6.781 kB / 1.152 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.8237, allocations: 11.41 kB / 1.152 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8237, allocations: 4.125 kB / 1.152 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8237, allocations: 5.547 kB / 1.152 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.8245, allocations: 0.6122 MB / 1.152 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.8249, allocations: 215.3 kB / 1.152 GB, free: 5.453 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.825, allocations: 14.84 kB / 1.152 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.8255, allocations: 59.38 kB / 1.152 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.8256, allocations: 32.75 kB / 1.152 GB, free: 5.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.8256, allocations: 23.5 kB / 1.152 GB, free: 5.395 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009481/0.8266, allocations: 0.783 MB / 1.153 GB, free: 5.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8266, allocations: 0 / 1.153 GB, free: 5.137 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001078/0.8277, allocations: 412.5 kB / 1.154 GB, free: 5.102 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.8281, allocations: 173.2 kB / 1.154 GB, free: 4.988 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.8294, allocations: 0.8027 MB / 1.155 GB, free: 4.695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8294, allocations: 1.062 kB / 1.155 GB, free: 4.695 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.8298, allocations: 209.9 kB / 1.155 GB, free: 4.648 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.832, allocations: 459.9 kB / 1.155 GB, free: 4.492 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.8348, allocations: 1.963 MB / 1.157 GB, free: 3.391 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.8355, allocations: 1.182 MB / 1.158 GB, free: 2.512 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001176/0.8367, allocations: 417.2 kB / 1.159 GB, free: 2.332 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.8369, allocations: 72.58 kB / 1.159 GB, free: 2.32 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.8369, allocations: 1.375 kB / 1.159 GB, free: 2.32 MB / 0.698 GB Notification: Performance of Templates: time 0.02563/0.8626, allocations: 16.28 MB / 1.175 GB, free: 10.41 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)