Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.4 MB / 303.4 MB, free: 8.188 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.0009862/0.0009862, allocations: 186.9 kB / 372 MB, free: 10.25 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.421/1.421, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009085/0.0009087, allocations: 98.28 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 16.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2005, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5778/0.7783, allocations: 146.7 MB / 1.123 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004401/0.7828, allocations: 3.349 MB / 1.126 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.7832, allocations: 8.875 kB / 1.126 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.7837, allocations: 113.8 kB / 1.126 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.7849, allocations: 391.1 kB / 1.127 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.786, allocations: 377.1 kB / 1.127 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.7887, allocations: 3.001 MB / 1.13 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/0.7896, allocations: 0.6944 MB / 1.131 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.7909, allocations: 0.8656 MB / 1.131 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.7915, allocations: 0.7126 MB / 1.132 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.7916, allocations: 32.88 kB / 1.132 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.7928, allocations: 0.5467 MB / 1.133 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.793, allocations: 287.6 kB / 1.133 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.7932, allocations: 228.7 kB / 1.133 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.7942, allocations: 1.026 MB / 1.134 GB, free: 172 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7942, allocations: 0 / 1.134 GB, free: 172 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7942, allocations: 0 / 1.134 GB, free: 172 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.7942, allocations: 0 / 1.134 GB, free: 172 kB / 0.6823 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.00197/0.7962, allocations: 1.303 MB / 1.135 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7962, allocations: 15.09 kB / 1.136 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.7969, allocations: 186.9 kB / 1.136 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.7982, allocations: 0.7974 MB / 1.136 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.7982, allocations: 43.77 kB / 1.137 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.7983, allocations: 61.16 kB / 1.137 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.7994, allocations: 0.7926 MB / 1.137 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.7994, allocations: 3.938 kB / 1.137 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.7995, allocations: 19 kB / 1.137 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.7995, allocations: 21.42 kB / 1.137 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.8004, allocations: 0.5469 MB / 1.138 GB, free: 14.43 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.003661/0.8041, allocations: 4.6 MB / 1.142 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.8049, allocations: 432.2 kB / 1.143 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.8052, allocations: 258.3 kB / 1.143 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.8055, allocations: 189.2 kB / 1.143 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.8061, allocations: 299.2 kB / 1.144 GB, free: 10.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.345e-06/0.8061, allocations: 0 / 1.144 GB, free: 10.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004197/0.8103, allocations: 1.348 MB / 1.145 GB, free: 9.449 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.8103, allocations: 84.48 kB / 1.145 GB, free: 9.355 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.8118, allocations: 1.111 MB / 1.146 GB, free: 9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.8118, allocations: 37.61 kB / 1.146 GB, free: 8.969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.8123, allocations: 494.7 kB / 1.147 GB, free: 8.754 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.422e-05/0.8124, allocations: 110.2 kB / 1.147 GB, free: 8.676 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.8124, allocations: 9.531 kB / 1.147 GB, free: 8.676 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8125, allocations: 326.9 kB / 1.147 GB, free: 8.363 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.8129, allocations: 184.4 kB / 1.147 GB, free: 8.324 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.8136, allocations: 0.5006 MB / 1.148 GB, free: 7.898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.814, allocations: 287.7 kB / 1.148 GB, free: 7.809 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.8141, allocations: 6.219 kB / 1.148 GB, free: 7.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002347/0.8164, allocations: 0.9834 MB / 1.149 GB, free: 7.422 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.8166, allocations: 284.6 kB / 1.149 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8166, allocations: 4.594 kB / 1.149 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.818, allocations: 347 kB / 1.149 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.8183, allocations: 63.28 kB / 1.15 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.8194, allocations: 1.016 MB / 1.151 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/0.8202, allocations: 108 kB / 1.151 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.8203, allocations: 22.84 kB / 1.151 GB, free: 6.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.8203, allocations: 4.062 kB / 1.151 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001383/0.8217, allocations: 0.7317 MB / 1.151 GB, free: 6.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8217, allocations: 5.5 kB / 1.151 GB, free: 6.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/0.8223, allocations: 214.6 kB / 1.152 GB, free: 5.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.8225, allocations: 67.66 kB / 1.152 GB, free: 5.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.8261, allocations: 3.113 MB / 1.155 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.8268, allocations: 98.55 kB / 1.155 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.8269, allocations: 20.97 kB / 1.155 GB, free: 4.023 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.0006487/0.8275, allocations: 473.6 kB / 1.155 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.8277, allocations: 102.6 kB / 1.155 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.829, allocations: 0.7123 MB / 1.156 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.829, allocations: 3.469 kB / 1.156 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.829, allocations: 1.25 kB / 1.156 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.829, allocations: 0 / 1.156 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.8315, allocations: 1.619 MB / 1.158 GB, free: 2.656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8316, allocations: 5.594 kB / 1.158 GB, free: 2.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.8317, allocations: 30.42 kB / 1.158 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.8322, allocations: 215.4 kB / 1.158 GB, free: 2.582 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.8322, allocations: 12.31 kB / 1.158 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008497/0.8331, allocations: 0.9828 MB / 1.159 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.8331, allocations: 2.5 kB / 1.159 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.8343, allocations: 0.8467 MB / 1.16 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.8347, allocations: 223.2 kB / 1.16 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.8348, allocations: 9.312 kB / 1.16 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.8353, allocations: 54.81 kB / 1.16 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.8354, allocations: 31.94 kB / 1.16 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.8354, allocations: 17.17 kB / 1.16 GB, free: 1.309 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001027/0.8364, allocations: 0.7829 MB / 1.161 GB, free: 1.051 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8364, allocations: 0 / 1.161 GB, free: 1.051 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001323/0.8378, allocations: 456.5 kB / 1.161 GB, free: 1.012 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.0003864/0.8382, allocations: 190.1 kB / 1.161 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.8399, allocations: 1.053 MB / 1.162 GB, free: 444 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8399, allocations: 5.922 kB / 1.162 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.8404, allocations: 237.1 kB / 1.163 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.8423, allocations: 460.6 kB / 1.163 GB, free: 240 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.845, allocations: 1.976 MB / 1.165 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.8458, allocations: 1.183 MB / 1.166 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008715/0.8467, allocations: 317.1 kB / 1.166 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.8468, allocations: 60.78 kB / 1.166 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.8468, allocations: 0 / 1.166 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.03014/0.877, allocations: 18.38 MB / 1.184 GB, free: 3.02 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)