Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7669/0.7669, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 183.7 kB / 169.7 MB, free: 1.754 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 404.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008755/0.0008753, allocations: 86.7 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.346e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1621, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.384, allocations: 371.6 MB / 0.9911 GB, free: 140.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/1.384, allocations: 97.67 kB / 0.9912 GB, free: 140 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.724/3.108, allocations: 483.5 MB / 1.463 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/3.108, allocations: 0 / 1.463 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001606/3.108, allocations: 47.17 kB / 1.463 GB, free: 137.3 MB / 0.6511 GB 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.002824/3.111, allocations: 1.519 MB / 1.465 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/3.111, allocations: 11.12 kB / 1.465 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/3.112, allocations: 276.2 kB / 1.465 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004613/3.117, allocations: 2.048 MB / 1.467 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/3.117, allocations: 68.42 kB / 1.467 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/3.117, allocations: 83.94 kB / 1.467 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/3.12, allocations: 1.048 MB / 1.468 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/3.12, allocations: 1.688 kB / 1.468 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/3.12, allocations: 35.38 kB / 1.468 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/3.12, allocations: 28.05 kB / 1.468 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/3.122, allocations: 0.7736 MB / 1.469 GB, free: 135.9 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.005252/3.127, allocations: 4.633 MB / 1.474 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/3.129, allocations: 0.6378 MB / 1.474 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/3.129, allocations: 277.4 kB / 1.474 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002294/3.131, allocations: 1.625 MB / 1.476 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/3.133, allocations: 438.4 kB / 1.476 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005025/3.133, allocations: 106.1 kB / 1.477 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.045e-06/3.133, allocations: 3.719 kB / 1.477 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.004961/3.138, allocations: 1.062 MB / 1.478 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/3.138, allocations: 65.59 kB / 1.478 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/3.14, allocations: 1.099 MB / 1.479 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/3.14, allocations: 43.61 kB / 1.479 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/3.14, allocations: 0.6479 MB / 1.479 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/3.141, allocations: 156.8 kB / 1.48 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/3.141, allocations: 9.5 kB / 1.48 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/3.141, allocations: 338.5 kB / 1.48 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/3.141, allocations: 232.1 kB / 1.48 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/3.142, allocations: 0.562 MB / 1.481 GB, free: 131 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/3.142, allocations: 345.9 kB / 1.481 GB, free: 131 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/3.142, allocations: 7.656 kB / 1.481 GB, free: 131 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003626/3.146, allocations: 1.181 MB / 1.482 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006116/3.146, allocations: 3.136 MB / 1.485 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/3.146, allocations: 10.78 kB / 1.485 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/3.147, allocations: 212.4 kB / 1.485 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/3.147, allocations: 144.3 kB / 1.486 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/3.149, allocations: 0.9577 MB / 1.487 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/3.15, allocations: 85.16 kB / 1.487 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/3.15, allocations: 47.52 kB / 1.487 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/3.15, allocations: 3.188 kB / 1.487 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/3.152, allocations: 0.8537 MB / 1.487 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/3.152, allocations: 7.156 kB / 1.488 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/3.152, allocations: 106.2 kB / 1.488 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/3.152, allocations: 137.7 kB / 1.488 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/3.154, allocations: 2.141 MB / 1.49 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/3.155, allocations: 78.66 kB / 1.49 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/3.155, allocations: 39.05 kB / 1.49 GB, free: 125.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000211/3.155, allocations: 156.7 kB / 1.49 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/3.156, allocations: 125.7 kB / 1.49 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/3.159, allocations: 1.054 MB / 1.491 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/3.159, allocations: 6.312 kB / 1.491 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/3.159, allocations: 7.125 kB / 1.491 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/3.162, allocations: 1.028 MB / 1.492 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/3.167, allocations: 1.994 MB / 1.494 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/3.167, allocations: 0 / 1.494 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/3.168, allocations: 74.78 kB / 1.494 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/3.168, allocations: 197.2 kB / 1.494 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/3.168, allocations: 18.97 kB / 1.494 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007507/3.176, allocations: 3.265 MB / 1.498 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/3.176, allocations: 0 / 1.498 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/3.18, allocations: 1.345 MB / 1.499 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/3.181, allocations: 268.2 kB / 1.499 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/3.181, allocations: 11.81 kB / 1.499 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/3.182, allocations: 77.16 kB / 1.499 GB, free: 122 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/3.182, allocations: 47.44 kB / 1.499 GB, free: 122 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/3.182, allocations: 25.64 kB / 1.499 GB, free: 122 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001242/3.183, allocations: 0.8812 MB / 1.5 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/3.183, allocations: 0 / 1.5 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00288/3.186, allocations: 0.7501 MB / 1.501 GB, free: 121.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/3.188, allocations: 0.7795 MB / 1.502 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003336/3.191, allocations: 1.355 MB / 1.503 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/3.191, allocations: 0 / 1.503 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/3.193, allocations: 0.5339 MB / 1.504 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/3.196, allocations: 0.5589 MB / 1.504 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/3.2, allocations: 1.687 MB / 1.506 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/3.201, allocations: 1.297 MB / 1.507 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002029/3.203, allocations: 0.5708 MB / 1.508 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/3.203, allocations: 78.94 kB / 1.508 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/3.203, allocations: 4 kB / 1.508 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.05475/3.258, allocations: 33.9 MB / 1.541 GB, free: 109.4 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)