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.001308/0.001308, allocations: 107.1 kB / 16.4 MB, free: 6.48 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.001333/0.001333, allocations: 197.2 kB / 17.34 MB, free: 5.754 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 66.72 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.138, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.03456/0.1726, allocations: 33.15 MB / 0.6644 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.1911, allocations: 12.32 MB / 0.6765 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.1934, allocations: 63.56 kB / 0.6765 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004489/0.1979, allocations: 1.521 MB / 0.678 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.2027, allocations: 1.734 MB / 0.6797 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.207, allocations: 1.508 MB / 0.6812 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01022/0.2172, allocations: 7.784 MB / 0.6888 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.22, allocations: 2.121 MB / 0.6908 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.2237, allocations: 1.939 MB / 0.6927 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.2256, allocations: 1.443 MB / 0.6941 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.2258, allocations: 152 kB / 0.6943 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.2283, allocations: 1.349 MB / 0.6956 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.2288, allocations: 0.5994 MB / 0.6962 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.2299, allocations: 1.197 MB / 0.6974 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.2339, allocations: 3.548 MB / 0.7008 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2339, allocations: 0 / 0.7008 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2339, allocations: 0 / 0.7008 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.2339, allocations: 4 kB / 0.7008 GB, free: 13.73 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.004438/0.2384, allocations: 2.803 MB / 0.7036 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2384, allocations: 12.03 kB / 0.7036 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.2403, allocations: 436.6 kB / 0.704 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/0.2449, allocations: 2.751 MB / 0.7067 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.245, allocations: 78 kB / 0.7068 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.2452, allocations: 112 kB / 0.7069 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.2473, allocations: 1.319 MB / 0.7082 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.2474, allocations: 0 / 0.7082 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.2475, allocations: 44 kB / 0.7082 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.2475, allocations: 24 kB / 0.7082 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.2495, allocations: 1.026 MB / 0.7092 GB, free: 4.906 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.007869/0.2574, allocations: 6.898 MB / 0.716 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2588, allocations: 0.601 MB / 0.7165 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.2595, allocations: 403.2 kB / 0.7169 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002789/0.2623, allocations: 1.767 MB / 0.7187 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007755/0.2631, allocations: 370.9 kB / 0.719 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004992/0.2636, allocations: 99.08 kB / 0.7191 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.915e-06/0.2636, allocations: 7.875 kB / 0.7191 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.003577/0.2672, allocations: 1.355 MB / 0.7204 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.2673, allocations: 55.41 kB / 0.7205 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.2705, allocations: 2.391 MB / 0.7228 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.2706, allocations: 49.69 kB / 0.7229 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009211/0.2715, allocations: 0.9881 MB / 0.7238 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2717, allocations: 161.8 kB / 0.724 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.2721, allocations: 298.5 kB / 0.7243 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002733/0.2724, allocations: 357.9 kB / 0.7246 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00093/0.2733, allocations: 0.4979 MB / 0.7251 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.2747, allocations: 0.9859 MB / 0.7261 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.2768, allocations: 1.339 MB / 0.7274 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.2768, allocations: 4 kB / 0.7274 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003226/0.28, allocations: 1.799 MB / 0.7291 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.2801, allocations: 41.64 kB / 0.7292 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2801, allocations: 8.812 kB / 0.7292 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.2808, allocations: 196.4 kB / 0.7294 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.2816, allocations: 227.6 kB / 0.7296 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007044/0.2823, allocations: 0.7592 MB / 0.7303 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.2835, allocations: 71.86 kB / 0.7304 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/0.2836, allocations: 60.03 kB / 0.7305 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001511/0.2851, allocations: 1.022 MB / 0.7314 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.2863, allocations: 0.9694 MB / 0.7324 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001677/0.288, allocations: 1.299 MB / 0.7337 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/0.288, 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.0028/0.2908, allocations: 1.785 MB / 0.7354 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.2908, allocations: 37.69 kB / 0.7354 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2909, allocations: 12.81 kB / 0.7355 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.2911, allocations: 124.8 kB / 0.7356 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.2918, allocations: 227.6 kB / 0.7358 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.2939, allocations: 2.336 MB / 0.7381 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.2952, allocations: 83.86 kB / 0.7382 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.2953, allocations: 51.98 kB / 0.7382 GB, free: 5.535 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.0003034/0.2956, allocations: 256 kB / 0.7384 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.2959, allocations: 213.2 kB / 0.7387 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.2982, allocations: 1.025 MB / 0.7397 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.2982, allocations: 11.98 kB / 0.7397 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.2982, allocations: 0 / 0.7397 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/0.2998, allocations: 0.9662 MB / 0.7406 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.3036, allocations: 2.315 MB / 0.7429 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3036, allocations: 0 / 0.7429 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.304, allocations: 87.86 kB / 0.743 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.3043, allocations: 124.8 kB / 0.7431 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.3044, allocations: 15.98 kB / 0.7431 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005317/0.3049, allocations: 0.7466 MB / 0.7438 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3049, allocations: 3.938 kB / 0.7438 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.3074, allocations: 1.409 MB / 0.7452 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.3081, allocations: 358.3 kB / 0.7455 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.3083, allocations: 8 kB / 0.7455 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.309, allocations: 47.89 kB / 0.7456 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.3091, allocations: 44.38 kB / 0.7456 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.3092, allocations: 23.98 kB / 0.7457 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002049/0.3113, allocations: 1.627 MB / 0.7472 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.643e-06/0.3113, allocations: 0 / 0.7472 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002235/0.3135, allocations: 0.9555 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.001026/0.3145, allocations: 0.5086 MB / 0.7487 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.3181, allocations: 2.013 MB / 0.7506 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3181, allocations: 0 / 0.7506 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.3188, allocations: 342.6 kB / 0.751 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/0.3227, allocations: 0.9747 MB / 0.7519 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006635/0.3294, allocations: 3.65 MB / 0.7555 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.3307, allocations: 1.681 MB / 0.7571 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001951/0.3326, allocations: 0.571 MB / 0.7577 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.333, allocations: 163.4 kB / 0.7578 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.333, allocations: 0 / 0.7578 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of Templates: time 0.3805/0.7135, allocations: 40.31 MB / 0.7972 GB, free: 97.31 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)