Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 173.6 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007446/0.0007446, allocations: 88.48 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003128, allocations: 13.55 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1487/0.3249, allocations: 159.2 MB / 1.052 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.3302, allocations: 3.681 MB / 1.056 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.3307, allocations: 11.88 kB / 1.056 GB, free: 0.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.3313, allocations: 139.2 kB / 1.056 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.3329, allocations: 0.497 MB / 1.056 GB, free: 76 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4299/0.7628, allocations: 377.2 kB / 1.057 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003656/0.7665, allocations: 3.489 MB / 1.06 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.7678, allocations: 0.7505 MB / 1.061 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.77, allocations: 0.8757 MB / 1.062 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.7714, allocations: 0.7365 MB / 1.062 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.7717, allocations: 33.91 kB / 1.063 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.7741, allocations: 0.7996 MB / 1.063 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.7748, allocations: 286.8 kB / 1.064 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.7763, allocations: 0.5189 MB / 1.064 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.7783, allocations: 1.034 MB / 1.065 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7783, allocations: 0.875 kB / 1.065 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7783, allocations: 2.906 kB / 1.065 GB, free: 2.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.053e-05/0.7784, allocations: 0 / 1.065 GB, free: 2.059 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.003839/0.7822, allocations: 1.296 MB / 1.066 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.7823, allocations: 9.594 kB / 1.066 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.7835, allocations: 186.5 kB / 1.067 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.7857, allocations: 0.8371 MB / 1.067 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.7858, allocations: 44.12 kB / 1.067 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.786, allocations: 59.95 kB / 1.067 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.7876, allocations: 0.8037 MB / 1.068 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.7876, allocations: 4.438 kB / 1.068 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.7877, allocations: 27.91 kB / 1.068 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.7877, allocations: 13.47 kB / 1.068 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.7889, allocations: 0.5482 MB / 1.069 GB, free: 16.59 MB / 0.7136 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.005479/0.7944, allocations: 4.601 MB / 1.073 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.7953, allocations: 434.9 kB / 1.074 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.7958, allocations: 249.2 kB / 1.074 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.7961, allocations: 195.7 kB / 1.074 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.7967, allocations: 303.2 kB / 1.074 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 4.488e-06/0.7967, allocations: 4 kB / 1.074 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.004356/0.8011, allocations: 1.356 MB / 1.076 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.8012, allocations: 91.19 kB / 1.076 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.8033, allocations: 1.121 MB / 1.077 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.8034, allocations: 36.86 kB / 1.077 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.8039, allocations: 494.6 kB / 1.077 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.8041, allocations: 110.6 kB / 1.078 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.8041, allocations: 39.98 kB / 1.078 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8043, allocations: 327.3 kB / 1.078 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.8047, allocations: 218.8 kB / 1.078 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.8053, allocations: 0.5238 MB / 1.079 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/0.8062, allocations: 0.6416 MB / 1.079 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.8062, allocations: 6.719 kB / 1.079 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002663/0.8089, allocations: 1.069 MB / 1.08 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.8092, allocations: 280.8 kB / 1.081 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.8092, allocations: 6.438 kB / 1.081 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.8107, allocations: 375.1 kB / 1.081 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.811, allocations: 61.95 kB / 1.081 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.8122, allocations: 1.02 MB / 1.082 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8134, allocations: 111.3 kB / 1.082 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.105e-05/0.8135, allocations: 23.94 kB / 1.082 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.8136, allocations: 11.59 kB / 1.082 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/0.8151, allocations: 0.7227 MB / 1.083 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8151, allocations: 9.875 kB / 1.083 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.8157, allocations: 220 kB / 1.083 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.8159, allocations: 62.28 kB / 1.083 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/0.8196, allocations: 3.112 MB / 1.086 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8207, allocations: 103.1 kB / 1.086 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.8208, allocations: 25.23 kB / 1.086 GB, free: 8.43 MB / 0.7136 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008795/0.8217, allocations: 470.8 kB / 1.087 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.8221, allocations: 99.28 kB / 1.087 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.8235, allocations: 0.7208 MB / 1.088 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.8235, allocations: 3.125 kB / 1.088 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8235, allocations: 3.406 kB / 1.088 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8235, allocations: 0 / 1.088 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.8264, allocations: 1.623 MB / 1.089 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.8265, allocations: 3.469 kB / 1.089 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.8266, allocations: 26.02 kB / 1.089 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.8271, allocations: 226 kB / 1.089 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.8271, allocations: 11.38 kB / 1.089 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008343/0.8279, allocations: 0.9776 MB / 1.09 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.828, allocations: 2.594 kB / 1.09 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.8293, allocations: 0.855 MB / 1.091 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.8299, allocations: 215.2 kB / 1.091 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.8302, allocations: 10.38 kB / 1.091 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.8309, allocations: 53.16 kB / 1.091 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.831, allocations: 39.08 kB / 1.091 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.831, allocations: 11.59 kB / 1.091 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001352/0.8324, allocations: 0.7946 MB / 1.092 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8324, allocations: 0 / 1.092 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001961/0.8344, allocations: 454.2 kB / 1.093 GB, free: 6.414 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005347/0.8349, allocations: 170.1 kB / 1.093 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.8371, allocations: 1.082 MB / 1.094 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.8371, allocations: 0 / 1.094 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.8376, allocations: 241.9 kB / 1.094 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.8406, allocations: 462.4 kB / 1.095 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.8443, allocations: 2.1 MB / 1.097 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000926/0.8453, allocations: 1.181 MB / 1.098 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.8455, allocations: 63.05 kB / 1.098 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/0.8455, allocations: 0 / 1.098 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of Templates: time 0.03212/0.8776, allocations: 20.15 MB / 1.118 GB, free: 14.48 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)