Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 118.8 kB / 17.08 MB, free: 6.012 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.001424/0.001424, allocations: 191 kB / 18.01 MB, free: 5.094 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.53 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.03236/0.186, allocations: 33.14 MB / 0.6651 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01832/0.2043, allocations: 12.32 MB / 0.6771 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.2067, allocations: 47.75 kB / 0.6772 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.2115, allocations: 1.535 MB / 0.6787 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.2166, allocations: 1.744 MB / 0.6804 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.2205, allocations: 1.502 MB / 0.6818 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.2316, allocations: 7.801 MB / 0.6895 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003576/0.2352, allocations: 2.109 MB / 0.6915 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.2402, allocations: 1.946 MB / 0.6934 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.2429, allocations: 1.431 MB / 0.6948 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.2436, allocations: 152 kB / 0.695 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.2471, allocations: 1.342 MB / 0.6963 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009565/0.2481, allocations: 0.6072 MB / 0.6969 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.2505, allocations: 1.205 MB / 0.698 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006414/0.257, allocations: 3.54 MB / 0.7015 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.257, allocations: 0 / 0.7015 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.257, allocations: 0 / 0.7015 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001431/0.2572, allocations: 0 / 0.7015 GB, free: 13.74 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.006456/0.2637, allocations: 2.807 MB / 0.7042 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2637, allocations: 8.031 kB / 0.7042 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.2659, allocations: 436.6 kB / 0.7047 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.2713, allocations: 2.759 MB / 0.7074 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.031e-05/0.2715, allocations: 78 kB / 0.7074 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.2718, allocations: 112 kB / 0.7075 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.2744, allocations: 1.316 MB / 0.7088 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.2744, allocations: 7.938 kB / 0.7088 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.2745, allocations: 40 kB / 0.7089 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2746, allocations: 24 kB / 0.7089 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.2768, allocations: 1.019 MB / 0.7099 GB, free: 4.918 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.009098/0.2859, allocations: 6.905 MB / 0.7166 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.2873, allocations: 0.5931 MB / 0.7172 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.2881, allocations: 411.2 kB / 0.7176 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003094/0.2912, allocations: 1.774 MB / 0.7193 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007973/0.292, allocations: 355.5 kB / 0.7197 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00077/0.2928, allocations: 103.1 kB / 0.7198 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 3.827e-06/0.2928, allocations: 0 / 0.7198 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.003842/0.2967, allocations: 1.359 MB / 0.7211 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.2967, allocations: 63.34 kB / 0.7212 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/0.3007, allocations: 2.395 MB / 0.7235 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.3009, allocations: 37.7 kB / 0.7235 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009768/0.3019, allocations: 0.9881 MB / 0.7245 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3021, allocations: 165.8 kB / 0.7246 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.3026, allocations: 294.5 kB / 0.7249 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3027, allocations: 365.9 kB / 0.7253 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.3037, allocations: 0.4901 MB / 0.7258 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.305, allocations: 0.9898 MB / 0.7267 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.307, allocations: 1.336 MB / 0.728 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.307, allocations: 4 kB / 0.728 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003523/0.3105, allocations: 1.803 MB / 0.7298 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.3106, allocations: 45.62 kB / 0.7298 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.3107, allocations: 12 kB / 0.7298 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.3113, allocations: 180.9 kB / 0.73 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.3122, allocations: 227.6 kB / 0.7302 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006819/0.3129, allocations: 0.7591 MB / 0.731 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.3144, allocations: 79.92 kB / 0.7311 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.3146, allocations: 63.97 kB / 0.7311 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001772/0.3164, allocations: 1.022 MB / 0.7321 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.3176, allocations: 0.9617 MB / 0.7331 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001789/0.3194, allocations: 1.303 MB / 0.7343 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.046e-05/0.3194, allocations: 4 kB / 0.7343 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003238/0.3226, allocations: 1.786 MB / 0.7361 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.3227, allocations: 37.7 kB / 0.7361 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.3227, allocations: 15.98 kB / 0.7361 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.323, allocations: 128.1 kB / 0.7362 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.3238, allocations: 227.7 kB / 0.7365 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.3261, allocations: 2.318 MB / 0.7387 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.3277, allocations: 87.92 kB / 0.7388 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.3278, allocations: 51.98 kB / 0.7389 GB, free: 5.547 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.3283, allocations: 255.9 kB / 0.7391 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.3289, allocations: 217.2 kB / 0.7393 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.3314, allocations: 1.029 MB / 0.7403 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3314, allocations: 7.984 kB / 0.7403 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3314, allocations: 3.938 kB / 0.7403 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/0.333, allocations: 0.9545 MB / 0.7413 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.3378, allocations: 2.315 MB / 0.7435 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.3378, allocations: 7.938 kB / 0.7435 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.3383, allocations: 91.98 kB / 0.7436 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.3386, allocations: 120.7 kB / 0.7437 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.3387, allocations: 11.98 kB / 0.7437 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000601/0.3393, allocations: 0.738 MB / 0.7445 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.3393, allocations: 8.094 kB / 0.7445 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.3422, allocations: 1.412 MB / 0.7459 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.3431, allocations: 358.3 kB / 0.7462 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/0.3436, allocations: 12 kB / 0.7462 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.3446, allocations: 47.95 kB / 0.7463 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3448, allocations: 40.38 kB / 0.7463 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.3449, allocations: 23.98 kB / 0.7463 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002934/0.3478, allocations: 1.623 MB / 0.7479 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3478, allocations: 3.938 kB / 0.7479 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003421/0.3512, allocations: 0.9556 MB / 0.7488 GB, free: 11.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (38): * Single equations (assignments): 32 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.3527, allocations: 0.5126 MB / 0.7493 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003909/0.3566, allocations: 2.009 MB / 0.7513 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3566, allocations: 0 / 0.7513 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.3574, allocations: 347.6 kB / 0.7516 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/0.3621, allocations: 0.9691 MB / 0.7526 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008258/0.3704, allocations: 3.725 MB / 0.7562 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.3721, allocations: 1.669 MB / 0.7578 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.3728, allocations: 167.4 kB / 0.758 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.3728, allocations: 0 / 0.758 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of Templates: time 0.3754/0.7482, allocations: 45.44 MB / 0.8024 GB, free: 93.28 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)