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.001208/0.001208, allocations: 107.7 kB / 16.4 MB, free: 6.504 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.001155/0.001155, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.288/1.288, allocations: 222.9 MB / 241 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.6967/0.6967, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 73.12 kB / 0.5577 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1414, allocations: 76.17 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.03218/0.1736, allocations: 33.16 MB / 0.6644 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.191, allocations: 12.31 MB / 0.6765 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.1926, allocations: 55.69 kB / 0.6765 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/0.1967, allocations: 1.531 MB / 0.678 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.2007, allocations: 1.73 MB / 0.6797 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.2039, allocations: 1.51 MB / 0.6812 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009169/0.2131, allocations: 7.789 MB / 0.6888 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.2158, allocations: 2.113 MB / 0.6908 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.2198, allocations: 1.946 MB / 0.6927 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.2219, allocations: 1.439 MB / 0.6941 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.2223, allocations: 152 kB / 0.6943 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.225, allocations: 1.349 MB / 0.6956 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005362/0.2255, allocations: 0.5956 MB / 0.6962 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.2268, allocations: 1.205 MB / 0.6974 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.2309, allocations: 3.544 MB / 0.7008 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.231, allocations: 0 / 0.7008 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.231, allocations: 0 / 0.7008 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.231, allocations: 0 / 0.7008 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.004054/0.2351, allocations: 2.807 MB / 0.7036 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2351, allocations: 12.03 kB / 0.7036 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.2369, allocations: 436.6 kB / 0.704 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.2411, allocations: 2.763 MB / 0.7067 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.2412, allocations: 78 kB / 0.7068 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.2413, allocations: 108 kB / 0.7069 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.2435, allocations: 1.316 MB / 0.7082 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2436, allocations: 7.938 kB / 0.7082 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.2437, allocations: 44 kB / 0.7082 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.2437, allocations: 24 kB / 0.7082 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.2457, allocations: 1.019 MB / 0.7092 GB, free: 4.91 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.007896/0.2536, allocations: 6.898 MB / 0.716 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.2549, allocations: 0.5971 MB / 0.7165 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.2556, allocations: 411.2 kB / 0.7169 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/0.2582, allocations: 1.774 MB / 0.7187 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007842/0.259, allocations: 359 kB / 0.719 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003998/0.2594, allocations: 103.1 kB / 0.7191 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 3.737e-06/0.2594, allocations: 0 / 0.7191 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.003412/0.2628, allocations: 1.363 MB / 0.7204 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2629, allocations: 63.39 kB / 0.7205 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.2657, allocations: 2.38 MB / 0.7228 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.2658, allocations: 45.7 kB / 0.7229 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008174/0.2666, allocations: 0.9881 MB / 0.7238 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2667, allocations: 165.8 kB / 0.724 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.2671, allocations: 298.4 kB / 0.7243 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2673, allocations: 361.9 kB / 0.7246 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008481/0.2681, allocations: 0.4978 MB / 0.7251 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.2693, allocations: 0.9815 MB / 0.7261 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.2712, allocations: 1.343 MB / 0.7274 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.2712, allocations: 4 kB / 0.7274 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003089/0.2743, allocations: 1.799 MB / 0.7291 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.2743, allocations: 43.67 kB / 0.7292 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2744, allocations: 8 kB / 0.7292 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.275, allocations: 188.8 kB / 0.7294 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.2758, allocations: 227.6 kB / 0.7296 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006378/0.2764, allocations: 0.7592 MB / 0.7303 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.2775, allocations: 75.92 kB / 0.7304 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.2776, allocations: 55.92 kB / 0.7305 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001488/0.2791, allocations: 1.025 MB / 0.7315 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/0.2802, allocations: 0.9669 MB / 0.7324 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001667/0.2818, allocations: 1.303 MB / 0.7337 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.79e-06/0.2819, allocations: 4 kB / 0.7337 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002739/0.2846, allocations: 1.786 MB / 0.7354 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.2847, allocations: 33.7 kB / 0.7355 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2847, allocations: 12 kB / 0.7355 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.2849, allocations: 128.8 kB / 0.7356 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.2856, allocations: 227.7 kB / 0.7358 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.2877, allocations: 2.333 MB / 0.7381 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.2889, allocations: 87.91 kB / 0.7382 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.289, allocations: 55.98 kB / 0.7382 GB, free: 5.531 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.0003059/0.2893, allocations: 247.9 kB / 0.7385 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.2896, allocations: 217.2 kB / 0.7387 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.2918, allocations: 1.018 MB / 0.7397 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2918, allocations: 12 kB / 0.7397 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2918, allocations: 4 kB / 0.7397 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/0.2934, allocations: 0.9623 MB / 0.7406 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.2972, allocations: 2.319 MB / 0.7429 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2972, allocations: 0 / 0.7429 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.2977, allocations: 95.86 kB / 0.743 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.298, allocations: 120.7 kB / 0.7431 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.298, allocations: 19.97 kB / 0.7431 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005525/0.2986, allocations: 0.7381 MB / 0.7438 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2986, allocations: 4.062 kB / 0.7438 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.3011, allocations: 1.405 MB / 0.7452 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.3017, allocations: 354.3 kB / 0.7455 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.302, allocations: 11.98 kB / 0.7455 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.3028, allocations: 55.95 kB / 0.7456 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.3029, allocations: 36.33 kB / 0.7456 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.3029, allocations: 31.91 kB / 0.7457 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002357/0.3053, allocations: 1.623 MB / 0.7473 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3053, allocations: 0 / 0.7473 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002358/0.3077, allocations: 0.9556 MB / 0.7482 GB, free: 11.07 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.001148/0.3088, allocations: 0.506 MB / 0.7487 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003427/0.3123, allocations: 2.009 MB / 0.7506 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3123, allocations: 3.938 kB / 0.7506 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.313, allocations: 339.7 kB / 0.751 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.003607/0.3167, allocations: 0.9735 MB / 0.7519 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.3227, allocations: 3.651 MB / 0.7555 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.3239, allocations: 1.685 MB / 0.7571 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001626/0.3255, allocations: 0.5633 MB / 0.7577 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.3258, allocations: 163.4 kB / 0.7578 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.3258, allocations: 0 / 0.7578 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of Templates: time 0.3036/0.6295, allocations: 39.7 MB / 0.7966 GB, free: 98.4 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)