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.652/1.652, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001116/0.001117, allocations: 185.9 kB / 371.9 MB, free: 10.28 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.379/1.379, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008842/0.000884, allocations: 90.92 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 15.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5265/0.7324, allocations: 135.7 MB / 1.112 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004078/0.7365, allocations: 3.103 MB / 1.115 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.7369, allocations: 8.688 kB / 1.115 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.7376, allocations: 179.7 kB / 1.115 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.7391, allocations: 0.4919 MB / 1.116 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.7404, allocations: 447.7 kB / 1.116 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.7422, allocations: 1.511 MB / 1.118 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.7432, allocations: 0.7085 MB / 1.118 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.7444, allocations: 0.7016 MB / 1.119 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005613/0.7449, allocations: 490.1 kB / 1.119 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.579e-05/0.745, allocations: 34.12 kB / 1.119 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009978/0.746, allocations: 414.9 kB / 1.12 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.7463, allocations: 260.8 kB / 1.12 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.7466, allocations: 230.8 kB / 1.12 GB, free: 17.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.7478, allocations: 0.9703 MB / 1.121 GB, free: 17.01 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7478, allocations: 3.938 kB / 1.121 GB, free: 17.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7478, allocations: 0 / 1.121 GB, free: 17.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.7478, allocations: 0 / 1.121 GB, free: 17.01 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.002739/0.7506, allocations: 1.288 MB / 1.122 GB, free: 16.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.7506, allocations: 9.062 kB / 1.122 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008835/0.7515, allocations: 188.8 kB / 1.123 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.7532, allocations: 0.8005 MB / 1.123 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.7533, allocations: 43.78 kB / 1.123 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.7534, allocations: 57.44 kB / 1.124 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.7546, allocations: 0.7871 MB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.7546, allocations: 6.844 kB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.7546, allocations: 21 kB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.7547, allocations: 12.47 kB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/0.7555, allocations: 0.5423 MB / 1.125 GB, free: 15.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.003976/0.7595, allocations: 4.615 MB / 1.129 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.7601, allocations: 435.3 kB / 1.13 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-05/0.7602, allocations: 15.64 kB / 1.13 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.7607, allocations: 303.1 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.7607, allocations: 0 / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.003738/0.7644, allocations: 1.336 MB / 1.131 GB, free: 11.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.7645, allocations: 110 kB / 1.132 GB, free: 11.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.7657, allocations: 1.116 MB / 1.133 GB, free: 10.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.7658, allocations: 39.61 kB / 1.133 GB, free: 10.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.7661, allocations: 488.8 kB / 1.133 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.7662, allocations: 106.6 kB / 1.133 GB, free: 10.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.7662, allocations: 5.688 kB / 1.133 GB, free: 10.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.7663, allocations: 334.4 kB / 1.134 GB, free: 10.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.7666, allocations: 183 kB / 1.134 GB, free: 10.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.7672, allocations: 0.4948 MB / 1.134 GB, free: 9.852 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.7676, allocations: 297.5 kB / 1.134 GB, free: 9.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7676, allocations: 3.25 kB / 1.134 GB, free: 9.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002075/0.7697, allocations: 0.9813 MB / 1.135 GB, free: 9.371 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008722/0.7706, allocations: 2.13 MB / 1.138 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.7706, allocations: 6.156 kB / 1.138 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.7719, allocations: 339.8 kB / 1.138 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.7722, allocations: 63.84 kB / 1.138 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.7732, allocations: 1.016 MB / 1.139 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/0.7742, allocations: 108.2 kB / 1.139 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.7742, allocations: 27.02 kB / 1.139 GB, free: 6.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7743, allocations: 3.656 kB / 1.139 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.7756, allocations: 0.7422 MB / 1.14 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7756, allocations: 5.844 kB / 1.14 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/0.7761, allocations: 218.5 kB / 1.14 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.7764, allocations: 63.03 kB / 1.14 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/0.7807, allocations: 3.175 MB / 1.143 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7819, allocations: 97.94 kB / 1.143 GB, free: 4.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.7819, allocations: 21.12 kB / 1.143 GB, free: 4.043 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.0009304/0.7829, allocations: 465.2 kB / 1.144 GB, free: 3.777 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.7831, allocations: 98.19 kB / 1.144 GB, free: 3.727 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.7845, allocations: 0.7099 MB / 1.144 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7846, allocations: 3.469 kB / 1.144 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7846, allocations: 1.031 kB / 1.144 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7846, allocations: 1.094 kB / 1.144 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.7863, allocations: 1.102 MB / 1.146 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7863, allocations: 3.312 kB / 1.146 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.7865, allocations: 21.58 kB / 1.146 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.7869, allocations: 229.7 kB / 1.146 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.787, allocations: 7.75 kB / 1.146 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009168/0.7879, allocations: 0.9875 MB / 1.147 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.7879, allocations: 2.312 kB / 1.147 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.7893, allocations: 0.8676 MB / 1.148 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.7898, allocations: 223.3 kB / 1.148 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.7899, allocations: 14.36 kB / 1.148 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.7904, allocations: 56.3 kB / 1.148 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.7905, allocations: 34.17 kB / 1.148 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.7906, allocations: 10.09 kB / 1.148 GB, free: 1.434 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001062/0.7916, allocations: 0.7884 MB / 1.149 GB, free: 1.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7917, allocations: 0 / 1.149 GB, free: 1.172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001516/0.7932, allocations: 447.1 kB / 1.149 GB, free: 1.141 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.0004858/0.7937, allocations: 165.1 kB / 1.149 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.7957, allocations: 1.058 MB / 1.15 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7958, allocations: 1.219 kB / 1.15 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.7963, allocations: 234.9 kB / 1.151 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.7984, allocations: 468.6 kB / 1.151 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.8014, allocations: 1.982 MB / 1.153 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.8022, allocations: 1.204 MB / 1.154 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001076/0.8033, allocations: 319.6 kB / 1.154 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.8034, allocations: 59.52 kB / 1.154 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.8034, allocations: 1.375 kB / 1.154 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.03094/0.8344, allocations: 18.37 MB / 1.172 GB, free: 5.148 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)