Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.733/0.733, allocations: 127.4 MB / 134.9 MB, free: 3.492 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 187.4 kB / 164.7 MB, free: 11.6 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.519/1.519, allocations: 205.2 MB / 399.5 MB, free: 13.46 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.0008237/0.0008236, allocations: 88.97 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.91e-05, allocations: 2.562 kB / 0.5466 GB, free: 95.36 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 76.76 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8173/0.9722, allocations: 370.9 MB / 0.9838 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.9725, allocations: 90.7 kB / 0.9838 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.652/3.625, allocations: 0.6895 GB / 1.673 GB, free: 79.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/3.625, allocations: 0 / 1.673 GB, free: 79.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003265/3.625, allocations: 54.72 kB / 1.673 GB, free: 79.38 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00471/3.63, allocations: 1.833 MB / 1.675 GB, free: 77.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/3.63, allocations: 8.031 kB / 1.675 GB, free: 77.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/3.632, allocations: 334.2 kB / 1.676 GB, free: 77.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006464/3.639, allocations: 2.652 MB / 1.678 GB, free: 74.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/3.639, allocations: 32 kB / 1.678 GB, free: 74.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/3.639, allocations: 64 kB / 1.678 GB, free: 74.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/3.64, allocations: 0.8465 MB / 1.679 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/3.642, allocations: 1.063 MB / 1.68 GB, free: 72.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/3.642, allocations: 11.89 kB / 1.68 GB, free: 72.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/3.642, allocations: 0 / 1.68 GB, free: 72.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/3.642, allocations: 24 kB / 1.68 GB, free: 72.44 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.007082/3.649, allocations: 6.59 MB / 1.687 GB, free: 65.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/3.65, allocations: 0.5465 MB / 1.687 GB, free: 64.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/3.65, allocations: 357.9 kB / 1.687 GB, free: 64.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002487/3.652, allocations: 1.322 MB / 1.689 GB, free: 63.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/3.653, allocations: 302.8 kB / 1.689 GB, free: 62.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009234/3.654, allocations: 105.2 kB / 1.689 GB, free: 62.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 4.929e-06/3.654, allocations: 0 / 1.689 GB, free: 62.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.005425/3.659, allocations: 1.105 MB / 1.69 GB, free: 61.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/3.659, allocations: 58.84 kB / 1.69 GB, free: 61.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/3.662, allocations: 1.356 MB / 1.692 GB, free: 60.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.322e-05/3.663, allocations: 29.7 kB / 1.692 GB, free: 60.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008075/3.663, allocations: 0.8759 MB / 1.692 GB, free: 59.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/3.663, allocations: 145.9 kB / 1.693 GB, free: 59.17 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/3.664, allocations: 0 / 1.693 GB, free: 59.17 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001006/3.664, allocations: 345.9 kB / 1.693 GB, free: 58.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/3.664, allocations: 277.4 kB / 1.693 GB, free: 58.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/3.665, allocations: 0.7074 MB / 1.694 GB, free: 57.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/3.666, allocations: 431.2 kB / 1.694 GB, free: 57.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/3.666, allocations: 3.984 kB / 1.694 GB, free: 57.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004558/3.67, allocations: 1.369 MB / 1.696 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008461/3.671, allocations: 4.205 MB / 1.7 GB, free: 51.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/3.671, allocations: 11.75 kB / 1.7 GB, free: 51.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/3.672, allocations: 218.6 kB / 1.7 GB, free: 51.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/3.672, allocations: 171.7 kB / 1.7 GB, free: 50.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009979/3.673, allocations: 0.9553 MB / 1.701 GB, free: 50 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/3.675, allocations: 89.3 kB / 1.701 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/3.675, allocations: 51.97 kB / 1.701 GB, free: 49.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/3.675, allocations: 4 kB / 1.701 GB, free: 49.87 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001694/3.677, allocations: 0.91 MB / 1.702 GB, free: 48.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/3.677, allocations: 15.95 kB / 1.702 GB, free: 48.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/3.677, allocations: 108.8 kB / 1.702 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/3.677, allocations: 163.8 kB / 1.702 GB, free: 48.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/3.679, allocations: 2.034 MB / 1.704 GB, free: 46.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/3.68, allocations: 71.84 kB / 1.704 GB, free: 46.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/3.68, allocations: 47.98 kB / 1.704 GB, free: 46.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/3.681, allocations: 143.6 kB / 1.705 GB, free: 46.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/3.681, allocations: 165.9 kB / 1.705 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/3.685, allocations: 1.094 MB / 1.706 GB, free: 45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/3.685, allocations: 11.92 kB / 1.706 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/3.685, allocations: 3.953 kB / 1.706 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003197/3.688, allocations: 1.083 MB / 1.707 GB, free: 43.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/3.694, allocations: 2.179 MB / 1.709 GB, free: 41.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/3.694, allocations: 0 / 1.709 GB, free: 41.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/3.695, allocations: 75.88 kB / 1.709 GB, free: 41.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/3.695, allocations: 192.7 kB / 1.709 GB, free: 41.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/3.695, allocations: 11.97 kB / 1.709 GB, free: 41.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/3.701, allocations: 3.125 MB / 1.712 GB, free: 38.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/3.701, allocations: 0 / 1.712 GB, free: 38.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/3.706, allocations: 1.47 MB / 1.714 GB, free: 36.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/3.707, allocations: 303 kB / 1.714 GB, free: 36.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/3.707, allocations: 7.922 kB / 1.714 GB, free: 36.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/3.708, allocations: 75.83 kB / 1.714 GB, free: 36.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/3.708, allocations: 56.3 kB / 1.714 GB, free: 36.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/3.708, allocations: 23.97 kB / 1.714 GB, free: 36.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001673/3.71, allocations: 1.045 MB / 1.715 GB, free: 35.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/3.71, allocations: 0 / 1.715 GB, free: 35.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003698/3.714, allocations: 0.8891 MB / 1.716 GB, free: 34.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/3.716, allocations: 0.7642 MB / 1.717 GB, free: 33.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002367/3.718, allocations: 1.401 MB / 1.718 GB, free: 32.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/3.718, allocations: 4 kB / 1.718 GB, free: 32.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/3.719, allocations: 480.7 kB / 1.719 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/3.722, allocations: 0.6267 MB / 1.719 GB, free: 31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/3.726, allocations: 2.177 MB / 1.721 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/3.727, allocations: 1.529 MB / 1.723 GB, free: 27.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002775/3.73, allocations: 0.8228 MB / 1.724 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/3.73, allocations: 87.34 kB / 1.724 GB, free: 26.36 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/3.73, allocations: 4 kB / 1.724 GB, free: 26.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.4582/4.188, allocations: 33.91 MB / 1.757 GB, free: 103.5 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)