Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.451/0.451, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 112.8 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2713, allocations: 70.05 MB / 0.5575 GB, free: 44.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.01968/0.291, allocations: 29.44 MB / 0.5862 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.3014, allocations: 9.999 MB / 0.596 GB, free: 5.645 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.3027, allocations: 43.75 kB / 0.596 GB, free: 5.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.3042, allocations: 0.6046 MB / 0.5966 GB, free: 4.996 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.3069, allocations: 1.343 MB / 0.5979 GB, free: 3.648 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.3094, allocations: 1.235 MB / 0.5991 GB, free: 2.422 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.3134, allocations: 5.035 MB / 0.6041 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.3147, allocations: 1.149 MB / 0.6052 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.3166, allocations: 1.319 MB / 0.6065 GB, free: 10.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.3177, allocations: 1.054 MB / 0.6075 GB, free: 9.812 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.3179, allocations: 64 kB / 0.6076 GB, free: 9.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.3198, allocations: 1.065 MB / 0.6086 GB, free: 8.684 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.3201, allocations: 350.6 kB / 0.6089 GB, free: 8.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006795/0.3208, allocations: 0.7227 MB / 0.6096 GB, free: 7.613 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.3231, allocations: 2.372 MB / 0.612 GB, free: 5.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3231, allocations: 3.938 kB / 0.612 GB, free: 5.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3231, allocations: 4 kB / 0.612 GB, free: 5.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3232, allocations: 0 / 0.612 GB, free: 5.227 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002897/0.3261, allocations: 1.942 MB / 0.6139 GB, free: 3.223 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3261, allocations: 12.02 kB / 0.6139 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3277, allocations: 334.8 kB / 0.6142 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.3301, allocations: 1.363 MB / 0.6155 GB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.3302, allocations: 66 kB / 0.6156 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.3303, allocations: 84 kB / 0.6157 GB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3319, allocations: 1.004 MB / 0.6167 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.332, allocations: 3.938 kB / 0.6167 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.332, allocations: 32 kB / 0.6167 GB, free: 236 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3321, allocations: 20 kB / 0.6167 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.3338, allocations: 0.7572 MB / 0.6174 GB, free: 15.45 MB / 442.7 MB 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.005145/0.3389, allocations: 4.992 MB / 0.6223 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.3402, allocations: 0.613 MB / 0.6229 GB, free: 9.473 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.341, allocations: 354.5 kB / 0.6233 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/0.3429, allocations: 1.588 MB / 0.6248 GB, free: 7.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/0.3437, allocations: 359 kB / 0.6251 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000294/0.344, allocations: 107.4 kB / 0.6253 GB, free: 6.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.344, allocations: 0 / 0.6253 GB, free: 6.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.00313/0.3471, allocations: 1.204 MB / 0.6264 GB, free: 5.684 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3472, allocations: 55.41 kB / 0.6265 GB, free: 5.617 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.3485, allocations: 1.271 MB / 0.6277 GB, free: 4.332 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.3486, allocations: 37.7 kB / 0.6278 GB, free: 4.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.349, allocations: 0.6528 MB / 0.6284 GB, free: 3.629 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3491, allocations: 149.8 kB / 0.6285 GB, free: 3.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3494, allocations: 162.5 kB / 0.6287 GB, free: 3.312 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.3495, allocations: 330 kB / 0.629 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.3501, allocations: 292.6 kB / 0.6293 GB, free: 2.695 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.3509, allocations: 0.6121 MB / 0.6299 GB, free: 1.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3523, allocations: 0.8455 MB / 0.6307 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3523, allocations: 0 / 0.6307 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002211/0.3545, allocations: 1.13 MB / 0.6318 GB, free: 15.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.3545, allocations: 43.52 kB / 0.6319 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3546, allocations: 4 kB / 0.6319 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.3552, allocations: 204.7 kB / 0.6321 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.3558, allocations: 143.8 kB / 0.6322 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006999/0.3565, allocations: 0.7628 MB / 0.6329 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.3573, allocations: 88.53 kB / 0.633 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.3574, allocations: 43.98 kB / 0.6331 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009223/0.3583, allocations: 0.5682 MB / 0.6336 GB, free: 13.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007292/0.359, allocations: 0.5731 MB / 0.6342 GB, free: 13.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/0.3602, allocations: 0.7716 MB / 0.6349 GB, free: 12.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.139e-06/0.3603, allocations: 8 kB / 0.6349 GB, free: 12.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.00196/0.3622, allocations: 1.089 MB / 0.636 GB, free: 11.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.3623, allocations: 37.7 kB / 0.636 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3623, allocations: 15.92 kB / 0.6361 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.3625, allocations: 109.2 kB / 0.6362 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.363, allocations: 143.8 kB / 0.6363 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.3651, allocations: 2.155 MB / 0.6384 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/0.3659, allocations: 80.7 kB / 0.6385 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.366, allocations: 39.92 kB / 0.6385 GB, free: 8.461 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.3663, allocations: 236.4 kB / 0.6387 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3664, allocations: 130.3 kB / 0.6389 GB, free: 8.094 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.3685, allocations: 0.8997 MB / 0.6397 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3685, allocations: 4 kB / 0.6397 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3685, allocations: 0 / 0.6397 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/0.37, allocations: 0.9194 MB / 0.6406 GB, free: 6.184 MB / 458.7 MB 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 postOpt removeSimpleEquations (simulation): time 0.003273/0.3733, allocations: 1.893 MB / 0.6425 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3733, allocations: 0 / 0.6425 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.3738, allocations: 91.86 kB / 0.6426 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/0.3741, allocations: 128.8 kB / 0.6427 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.3741, allocations: 15.98 kB / 0.6427 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005639/0.3747, allocations: 0.7473 MB / 0.6434 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3747, allocations: 0 / 0.6434 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/0.3941, allocations: 9.646 MB / 0.6529 GB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.3946, allocations: 259.5 kB / 0.6531 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.3947, allocations: 12 kB / 0.6531 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.3953, allocations: 71.78 kB / 0.6532 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3954, allocations: 44.31 kB / 0.6532 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.3955, allocations: 19.98 kB / 0.6533 GB, free: 8.727 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.3965, allocations: 0.8779 MB / 0.6541 GB, free: 7.848 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3965, allocations: 0 / 0.6541 GB, free: 7.848 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003205/0.3998, allocations: 1.092 MB / 0.6552 GB, free: 6.754 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009601/0.4007, allocations: 451.1 kB / 0.6556 GB, free: 6.312 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.4035, allocations: 1.378 MB / 0.657 GB, free: 4.898 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4035, allocations: 0 / 0.657 GB, free: 4.898 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.4043, allocations: 351.4 kB / 0.6573 GB, free: 4.559 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.4066, allocations: 0.5582 MB / 0.6578 GB, free: 4.012 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.4107, allocations: 3.29 MB / 0.661 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.4115, allocations: 1.287 MB / 0.6623 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0012/0.4127, allocations: 342.5 kB / 0.6626 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.413, allocations: 111.4 kB / 0.6627 GB, free: 14.89 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.413, allocations: 0 / 0.6627 GB, free: 14.89 MB / 490.7 MB Notification: Performance of Templates: time 0.04354/0.4565, allocations: 29.41 MB / 0.6915 GB, free: 1.723 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)