Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001618, allocations: 106.9 kB / 16.52 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7395/0.7395, allocations: 115.3 MB / 406.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.89 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3875, allocations: 76.17 MB / 0.5564 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.173/0.5606, allocations: 159.3 MB / 0.712 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004938/0.5656, allocations: 3.644 MB / 0.7155 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.566, allocations: 7.938 kB / 0.7155 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.5666, allocations: 139.2 kB / 0.7157 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.568, allocations: 0.4902 MB / 0.7162 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.5691, allocations: 389.6 kB / 0.7165 GB, free: 200 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.5723, allocations: 3.493 MB / 0.7199 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5733, allocations: 0.7704 MB / 0.7207 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.5751, allocations: 0.9103 MB / 0.7216 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.576, allocations: 0.7311 MB / 0.7223 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.5761, allocations: 36 kB / 0.7223 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.5777, allocations: 0.8029 MB / 0.7231 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.578, allocations: 286.9 kB / 0.7234 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006413/0.5786, allocations: 0.5127 MB / 0.7239 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.5797, allocations: 1.025 MB / 0.7249 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5798, allocations: 4 kB / 0.7249 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5798, allocations: 0 / 0.7249 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.5798, allocations: 0 / 0.7249 GB, free: 7.605 MB / 0.5606 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.002277/0.5821, allocations: 1.455 MB / 0.7263 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5821, allocations: 15.97 kB / 0.7263 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.5829, allocations: 186.5 kB / 0.7265 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.5841, allocations: 0.7984 MB / 0.7273 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.5841, allocations: 48.94 kB / 0.7273 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.5842, allocations: 60 kB / 0.7274 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.5854, allocations: 0.7964 MB / 0.7282 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5854, allocations: 0 / 0.7282 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.5854, allocations: 20 kB / 0.7282 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.5855, allocations: 15.98 kB / 0.7282 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.5864, allocations: 0.546 MB / 0.7287 GB, free: 3.469 MB / 0.5606 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.004085/0.5905, allocations: 4.583 MB / 0.7332 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.5912, allocations: 411.4 kB / 0.7336 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.5916, allocations: 257.2 kB / 0.7338 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.5919, allocations: 198.2 kB / 0.734 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.5924, allocations: 297 kB / 0.7343 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.5924, allocations: 0 / 0.7343 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004957/0.5974, allocations: 1.639 MB / 0.7359 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.5975, allocations: 93.03 kB / 0.736 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.5989, allocations: 1.114 MB / 0.7371 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.5989, allocations: 37.7 kB / 0.7371 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.5994, allocations: 488.1 kB / 0.7376 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.701e-05/0.5995, allocations: 110.5 kB / 0.7377 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.5997, allocations: 109.9 kB / 0.7378 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5998, allocations: 334 kB / 0.7381 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.6002, allocations: 210.4 kB / 0.7383 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.6008, allocations: 0.5197 MB / 0.7388 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.6016, allocations: 0.6328 MB / 0.7395 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6016, allocations: 0 / 0.7395 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002169/0.6038, allocations: 1.041 MB / 0.7405 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.6039, allocations: 35.58 kB / 0.7405 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6039, allocations: 8.219 kB / 0.7405 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.6051, allocations: 379.5 kB / 0.7409 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.6054, allocations: 71.77 kB / 0.7409 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.6067, allocations: 1.083 MB / 0.742 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.6075, allocations: 99.31 kB / 0.7421 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.6076, allocations: 24 kB / 0.7421 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007344/0.6083, allocations: 0.4967 MB / 0.7426 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005535/0.6089, allocations: 490 kB / 0.7431 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007382/0.6096, allocations: 0.5489 MB / 0.7436 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.6097, allocations: 4.188 kB / 0.7436 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001501/0.6112, allocations: 0.8393 MB / 0.7444 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.6112, allocations: 45.75 kB / 0.7445 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6112, allocations: 4 kB / 0.7445 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.6118, allocations: 222.5 kB / 0.7447 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.612, allocations: 63.89 kB / 0.7447 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3223/0.9342, allocations: 2.981 MB / 0.7477 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.9352, allocations: 89.38 kB / 0.7477 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.9353, allocations: 22.28 kB / 0.7478 GB, free: 172.5 MB / 0.5762 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.9354, allocations: 220.2 kB / 0.748 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.9356, allocations: 104.2 kB / 0.7481 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.9371, allocations: 0.7042 MB / 0.7488 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.9371, allocations: 3.406 kB / 0.7488 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.9371, allocations: 3.75 kB / 0.7488 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.9371, allocations: 5.906 kB / 0.7488 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.9396, allocations: 1.598 MB / 0.7503 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9396, allocations: 2.219 kB / 0.7503 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.9397, allocations: 27 kB / 0.7504 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.9402, allocations: 248.1 kB / 0.7506 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.9403, allocations: 9.062 kB / 0.7506 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009776/0.9413, allocations: 1.03 MB / 0.7516 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9413, allocations: 2.594 kB / 0.7516 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.9426, allocations: 0.8315 MB / 0.7524 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.943, allocations: 223.7 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.9432, allocations: 9.844 kB / 0.7527 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.9436, allocations: 44.66 kB / 0.7527 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9438, allocations: 26.62 kB / 0.7527 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.9438, allocations: 10.3 kB / 0.7527 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001169/0.945, allocations: 0.798 MB / 0.7535 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.945, allocations: 0 / 0.7535 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001342/0.9463, allocations: 439.6 kB / 0.7539 GB, free: 170 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004481/0.9468, allocations: 175.3 kB / 0.7541 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.9494, allocations: 1.199 MB / 0.7553 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9494, allocations: 1.281 kB / 0.7553 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.95, allocations: 270.1 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.9522, allocations: 458.1 kB / 0.756 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.9554, allocations: 2.117 MB / 0.758 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.9562, allocations: 1.19 MB / 0.7592 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.9564, allocations: 64.28 kB / 0.7593 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.9564, allocations: 0 / 0.7593 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03483/0.9912, allocations: 20.53 MB / 0.7793 GB, free: 160.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)