Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009294/0.0009295, allocations: 89.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 183.2 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 241 MB, free: 5.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6772/0.6772, allocations: 115.5 MB / 407.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003194, allocations: 8 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 77.53 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4257/0.5605, allocations: 157.3 MB / 0.7135 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.5652, allocations: 3.584 MB / 0.7171 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.5655, allocations: 15.88 kB / 0.7171 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.5661, allocations: 131.2 kB / 0.7172 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.5673, allocations: 0.498 MB / 0.7177 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.5683, allocations: 400.6 kB / 0.7181 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.5716, allocations: 3.479 MB / 0.7215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.5726, allocations: 0.7578 MB / 0.7222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.5741, allocations: 0.9025 MB / 0.7231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.5749, allocations: 0.7233 MB / 0.7238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.575, allocations: 32 kB / 0.7238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.5764, allocations: 0.799 MB / 0.7246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.5767, allocations: 278.9 kB / 0.7249 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005966/0.5773, allocations: 0.5223 MB / 0.7254 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.5788, allocations: 1.37 MB / 0.7267 GB, free: 12.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5788, allocations: 0 / 0.7267 GB, free: 12.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5788, allocations: 0 / 0.7267 GB, free: 12.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.5788, allocations: 0 / 0.7267 GB, free: 12.06 MB / 0.545 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.001922/0.5807, allocations: 1.269 MB / 0.7279 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5808, allocations: 8.031 kB / 0.728 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007435/0.5815, allocations: 198.5 kB / 0.7281 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.5827, allocations: 0.7984 MB / 0.7289 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.5827, allocations: 45 kB / 0.729 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.369e-05/0.5828, allocations: 56 kB / 0.729 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.584, allocations: 0.8081 MB / 0.7298 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.584, allocations: 0 / 0.7298 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.5841, allocations: 24 kB / 0.7298 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5841, allocations: 12 kB / 0.7298 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.585, allocations: 0.5499 MB / 0.7304 GB, free: 8.102 MB / 0.545 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.004049/0.589, allocations: 4.599 MB / 0.7349 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.5898, allocations: 430.8 kB / 0.7353 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.5902, allocations: 245.2 kB / 0.7355 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.5905, allocations: 202.2 kB / 0.7357 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.591, allocations: 297.1 kB / 0.736 GB, free: 1.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.591, allocations: 0 / 0.736 GB, free: 1.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.003918/0.5949, allocations: 1.347 MB / 0.7373 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.595, allocations: 85.11 kB / 0.7374 GB, free: 436 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.5963, allocations: 1.118 MB / 0.7385 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.5964, allocations: 33.7 kB / 0.7385 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.5968, allocations: 0.4884 MB / 0.739 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.5969, allocations: 106.5 kB / 0.7391 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.597, allocations: 41.69 kB / 0.7391 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5971, allocations: 329.9 kB / 0.7394 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.5975, allocations: 212.7 kB / 0.7396 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.5981, allocations: 0.5258 MB / 0.7402 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.599, allocations: 0.6408 MB / 0.7408 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.599, allocations: 0 / 0.7408 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002318/0.6014, allocations: 1.06 MB / 0.7418 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.6016, allocations: 271.1 kB / 0.7421 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6016, allocations: 8 kB / 0.7421 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.603, allocations: 364.3 kB / 0.7424 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.6032, allocations: 63.91 kB / 0.7425 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009949/0.6042, allocations: 1.01 MB / 0.7435 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/0.6051, allocations: 95.53 kB / 0.7436 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.6051, allocations: 27.98 kB / 0.7436 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.6051, allocations: 4 kB / 0.7436 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/0.6066, allocations: 0.72 MB / 0.7443 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6066, allocations: 4.625 kB / 0.7443 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.6071, allocations: 208.6 kB / 0.7445 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.6073, allocations: 75.77 kB / 0.7446 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.611, allocations: 3.085 MB / 0.7476 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.6118, allocations: 91.59 kB / 0.7477 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.6119, allocations: 20 kB / 0.7477 GB, free: 5.309 MB / 0.5606 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.0005893/0.6125, allocations: 473.8 kB / 0.7482 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.6126, allocations: 98.78 kB / 0.7483 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.614, allocations: 0.722 MB / 0.749 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.614, allocations: 4 kB / 0.749 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.614, allocations: 0 / 0.749 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.614, allocations: 0 / 0.749 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.6165, allocations: 1.618 MB / 0.7505 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6165, allocations: 7.938 kB / 0.7505 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.6166, allocations: 19.98 kB / 0.7506 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.6171, allocations: 228.8 kB / 0.7508 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.6171, allocations: 8 kB / 0.7508 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008819/0.618, allocations: 0.9875 MB / 0.7518 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.618, allocations: 0 / 0.7518 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.6192, allocations: 0.8447 MB / 0.7526 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.6196, allocations: 223.8 kB / 0.7528 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.6197, allocations: 8 kB / 0.7528 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.6202, allocations: 51.8 kB / 0.7529 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.6203, allocations: 31.89 kB / 0.7529 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.6203, allocations: 12 kB / 0.7529 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001003/0.6213, allocations: 0.7916 MB / 0.7537 GB, free: 15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6213, allocations: 0 / 0.7537 GB, free: 15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001226/0.6226, allocations: 431.5 kB / 0.7541 GB, free: 14.58 MB / 0.5762 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.0004107/0.623, allocations: 194.5 kB / 0.7543 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.6249, allocations: 1.082 MB / 0.7553 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6249, allocations: 0 / 0.7553 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.6255, allocations: 243.1 kB / 0.7556 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.6278, allocations: 446.4 kB / 0.756 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.6306, allocations: 2.067 MB / 0.758 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.6314, allocations: 1.189 MB / 0.7592 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.6322, allocations: 307.9 kB / 0.7595 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.6324, allocations: 55.44 kB / 0.7595 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.193e-06/0.6324, allocations: 0 / 0.7595 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.03196/0.6643, allocations: 18.81 MB / 0.7779 GB, free: 6.324 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)