Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.72/2.72, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001856/0.001856, allocations: 180.4 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.255/2.255, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001344/0.001344, allocations: 100.5 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006562/0.0006565, allocations: 12.38 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2073, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.8546/1.062, allocations: 146.7 MB / 1.122 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004072/1.066, allocations: 1.64 MB / 1.123 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/1.067, allocations: 8.719 kB / 1.123 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006541/1.067, allocations: 109.3 kB / 1.123 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/1.069, allocations: 399.7 kB / 1.124 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/1.071, allocations: 337.3 kB / 1.124 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004563/1.075, allocations: 2.985 MB / 1.127 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/1.077, allocations: 0.6823 MB / 1.128 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/1.079, allocations: 0.8611 MB / 1.129 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/1.081, allocations: 0.7172 MB / 1.129 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/1.082, allocations: 35.3 kB / 1.129 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/1.084, allocations: 0.5586 MB / 1.13 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006298/1.085, allocations: 281.6 kB / 1.13 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005749/1.085, allocations: 230.4 kB / 1.13 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/1.088, allocations: 1.018 MB / 1.131 GB, free: 15.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.088, allocations: 3.938 kB / 1.131 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.736e-06/1.088, allocations: 3.344 kB / 1.131 GB, free: 15.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.848e-05/1.088, allocations: 4 kB / 1.131 GB, free: 15.76 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.003555/1.091, allocations: 1.302 MB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.091, allocations: 8.75 kB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.093, allocations: 180.6 kB / 1.133 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/1.095, allocations: 0.7968 MB / 1.134 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/1.095, allocations: 53.95 kB / 1.134 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.095, allocations: 61.12 kB / 1.134 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/1.097, allocations: 0.7942 MB / 1.134 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/1.097, allocations: 7.25 kB / 1.134 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/1.097, allocations: 21.09 kB / 1.134 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/1.097, allocations: 12.31 kB / 1.134 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/1.099, allocations: 0.5453 MB / 1.135 GB, free: 14.27 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.00681/1.106, allocations: 4.603 MB / 1.139 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.107, allocations: 432 kB / 1.14 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/1.108, allocations: 246.8 kB / 1.14 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/1.108, allocations: 194.1 kB / 1.14 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000766/1.109, allocations: 291.4 kB / 1.141 GB, free: 10.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 6.893e-06/1.109, allocations: 0 / 1.141 GB, free: 10.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.002303/1.111, allocations: 0.65 MB / 1.141 GB, free: 10.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/1.111, allocations: 89.22 kB / 1.141 GB, free: 10.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/1.114, allocations: 1.113 MB / 1.142 GB, free: 9.887 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.114, allocations: 40.52 kB / 1.142 GB, free: 9.852 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/1.114, allocations: 493.3 kB / 1.143 GB, free: 9.637 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/1.115, allocations: 112.3 kB / 1.143 GB, free: 9.559 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/1.115, allocations: 12.38 kB / 1.143 GB, free: 9.555 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.115, allocations: 323.7 kB / 1.143 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/1.115, allocations: 183.5 kB / 1.143 GB, free: 9.207 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009432/1.116, allocations: 0.4978 MB / 1.144 GB, free: 8.781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/1.117, allocations: 291.2 kB / 1.144 GB, free: 8.688 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.117, allocations: 2.594 kB / 1.144 GB, free: 8.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002075/1.119, allocations: 0.6809 MB / 1.145 GB, free: 8.441 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.12, allocations: 281 kB / 1.145 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.12, allocations: 9.375 kB / 1.145 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.12, allocations: 12.62 kB / 1.145 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/1.121, allocations: 113.9 kB / 1.145 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.121, allocations: 7.594 kB / 1.145 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.122, allocations: 102.8 kB / 1.145 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.122, allocations: 26.06 kB / 1.145 GB, free: 8.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.122, allocations: 3.906 kB / 1.145 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/1.124, allocations: 0.5386 MB / 1.146 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.124, allocations: 5.469 kB / 1.146 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.124, allocations: 8.969 kB / 1.146 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/1.125, allocations: 105.9 kB / 1.146 GB, free: 7.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.125, allocations: 12.89 kB / 1.146 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.126, allocations: 101.5 kB / 1.146 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/1.126, allocations: 26.2 kB / 1.146 GB, free: 7.805 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.0009433/1.127, allocations: 469.2 kB / 1.147 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/1.127, allocations: 101.9 kB / 1.147 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.129, allocations: 0.506 MB / 1.147 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.129, allocations: 4.312 kB / 1.147 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.129, allocations: 0 / 1.147 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.129, allocations: 5.422 kB / 1.147 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/1.133, allocations: 1.394 MB / 1.149 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.133, allocations: 5.453 kB / 1.149 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/1.133, allocations: 65.77 kB / 1.149 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.133, allocations: 3.188 kB / 1.149 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/1.133, allocations: 7.719 kB / 1.149 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.133, allocations: 2.906 kB / 1.149 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.133, allocations: 6.938 kB / 1.149 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.135, allocations: 0.6068 MB / 1.149 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/1.136, allocations: 227.4 kB / 1.15 GB, free: 6.102 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.136, allocations: 7.438 kB / 1.15 GB, free: 6.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/1.137, allocations: 53.48 kB / 1.15 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.137, allocations: 34.14 kB / 1.15 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/1.137, allocations: 17.16 kB / 1.15 GB, free: 6.062 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001692/1.139, allocations: 0.782 MB / 1.15 GB, free: 5.801 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.139, allocations: 0 / 1.15 GB, free: 5.801 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001855/1.141, allocations: 412.7 kB / 1.151 GB, free: 5.766 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.0006162/1.141, allocations: 188 kB / 1.151 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002267/1.144, allocations: 0.8077 MB / 1.152 GB, free: 5.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.144, allocations: 4.188 kB / 1.152 GB, free: 5.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000639/1.144, allocations: 210 kB / 1.152 GB, free: 5.293 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/1.148, allocations: 461.6 kB / 1.152 GB, free: 5.141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/1.153, allocations: 1.963 MB / 1.154 GB, free: 4.035 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.154, allocations: 1.178 MB / 1.155 GB, free: 3.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002107/1.156, allocations: 421.1 kB / 1.156 GB, free: 2.977 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/1.157, allocations: 76.61 kB / 1.156 GB, free: 2.961 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.157, allocations: 0 / 1.156 GB, free: 2.961 MB / 0.698 GB Notification: Performance of Templates: time 0.04449/1.201, allocations: 16.01 MB / 1.172 GB, free: 11.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)