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.7365/0.7365, allocations: 127.4 MB / 134.9 MB, free: 3.422 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.001034/0.001034, allocations: 180.9 kB / 164.6 MB, free: 11.62 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.626/1.626, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0009161/0.0009161, allocations: 92.36 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.69e-05, allocations: 2.688 kB / 0.5466 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1783, allocations: 76.75 MB / 0.6215 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8165/0.9948, allocations: 371 MB / 0.9838 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.9951, allocations: 96.22 kB / 0.9839 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.637/2.632, allocations: 480.6 MB / 1.453 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.282e-06/2.632, allocations: 192 / 1.453 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001623/2.632, allocations: 47.86 kB / 1.453 GB, free: 53.53 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.002614/2.635, allocations: 1.508 MB / 1.455 GB, free: 51.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/2.635, allocations: 12.03 kB / 1.455 GB, free: 51.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/2.636, allocations: 277.9 kB / 1.455 GB, free: 51.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/2.64, allocations: 2.044 MB / 1.457 GB, free: 49.58 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/2.64, allocations: 28 kB / 1.457 GB, free: 49.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/2.64, allocations: 52 kB / 1.457 GB, free: 49.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009695/2.641, allocations: 0.6177 MB / 1.458 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/2.642, allocations: 0.8085 MB / 1.458 GB, free: 48.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/2.642, allocations: 11.69 kB / 1.458 GB, free: 48.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/2.642, allocations: 0 / 1.458 GB, free: 48.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/2.642, allocations: 20 kB / 1.459 GB, free: 48 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.004634/2.647, allocations: 4.626 MB / 1.463 GB, free: 43.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/2.647, allocations: 0.5401 MB / 1.464 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/2.648, allocations: 281.1 kB / 1.464 GB, free: 42.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/2.65, allocations: 1.394 MB / 1.465 GB, free: 40.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/2.65, allocations: 285 kB / 1.465 GB, free: 40.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003347/2.65, allocations: 95.45 kB / 1.466 GB, free: 40.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 2.375e-06/2.65, allocations: 0 / 1.466 GB, free: 40.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.004511/2.655, allocations: 1.002 MB / 1.467 GB, free: 39.35 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/2.655, allocations: 55.41 kB / 1.467 GB, free: 39.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/2.656, allocations: 0.9951 MB / 1.468 GB, free: 38.28 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/2.656, allocations: 29.7 kB / 1.468 GB, free: 38.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/2.657, allocations: 0.6602 MB / 1.468 GB, free: 37.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/2.657, allocations: 138 kB / 1.468 GB, free: 37.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/2.657, allocations: 0 / 1.468 GB, free: 37.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/2.657, allocations: 334 kB / 1.469 GB, free: 37.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/2.657, allocations: 237.5 kB / 1.469 GB, free: 36.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/2.658, allocations: 0.5633 MB / 1.469 GB, free: 36.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/2.659, allocations: 370.6 kB / 1.47 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/2.659, allocations: 0 / 1.47 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003941/2.662, allocations: 1.193 MB / 1.471 GB, free: 34.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005481/2.663, allocations: 3.132 MB / 1.474 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/2.663, allocations: 8 kB / 1.474 GB, free: 31.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/2.663, allocations: 208.7 kB / 1.474 GB, free: 31.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/2.664, allocations: 143.8 kB / 1.474 GB, free: 30.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/2.666, allocations: 0.9852 MB / 1.475 GB, free: 29.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/2.667, allocations: 75.78 kB / 1.475 GB, free: 29.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/2.667, allocations: 48.03 kB / 1.475 GB, free: 29.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/2.667, allocations: 4 kB / 1.475 GB, free: 29.76 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/2.669, allocations: 0.7743 MB / 1.476 GB, free: 28.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/2.669, allocations: 8.688 kB / 1.476 GB, free: 28.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/2.669, allocations: 110.4 kB / 1.476 GB, free: 28.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/2.669, allocations: 135.8 kB / 1.476 GB, free: 28.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/2.671, allocations: 2.066 MB / 1.478 GB, free: 26.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/2.672, allocations: 63.67 kB / 1.479 GB, free: 26.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/2.672, allocations: 39.97 kB / 1.479 GB, free: 26.42 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.0002013/2.672, allocations: 131.4 kB / 1.479 GB, free: 26.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/2.672, allocations: 122.5 kB / 1.479 GB, free: 26.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/2.676, allocations: 0.9802 MB / 1.48 GB, free: 25.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/2.676, allocations: 8 kB / 1.48 GB, free: 25.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/2.676, allocations: 7.984 kB / 1.48 GB, free: 25.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003084/2.679, allocations: 1.021 MB / 1.481 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/2.684, allocations: 1.865 MB / 1.483 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/2.684, allocations: 3.938 kB / 1.483 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/2.684, allocations: 67.95 kB / 1.483 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/2.685, allocations: 192.7 kB / 1.483 GB, free: 21.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/2.685, allocations: 12.06 kB / 1.483 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007149/2.692, allocations: 3.174 MB / 1.486 GB, free: 18.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.692, allocations: 7.984 kB / 1.486 GB, free: 18.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/2.696, allocations: 1.323 MB / 1.487 GB, free: 17.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007226/2.697, allocations: 265.2 kB / 1.488 GB, free: 16.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/2.697, allocations: 0 / 1.488 GB, free: 16.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/2.698, allocations: 63.98 kB / 1.488 GB, free: 16.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/2.698, allocations: 52.3 kB / 1.488 GB, free: 16.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/2.698, allocations: 23.98 kB / 1.488 GB, free: 16.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001277/2.7, allocations: 0.767 MB / 1.488 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3e-07/2.7, allocations: 0 / 1.488 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003274/2.703, allocations: 0.7251 MB / 1.489 GB, free: 15.32 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.00165/2.704, allocations: 0.7409 MB / 1.49 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003233/2.708, allocations: 1.31 MB / 1.491 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.708, allocations: 0 / 1.491 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/2.709, allocations: 0.5073 MB / 1.492 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/2.712, allocations: 0.5134 MB / 1.492 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/2.715, allocations: 1.634 MB / 1.494 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/2.716, allocations: 1.297 MB / 1.495 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002136/2.718, allocations: 0.5798 MB / 1.496 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/2.719, allocations: 75.41 kB / 1.496 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of SimCode: time 6.62e-07/2.719, allocations: 0 / 1.496 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of Templates: time 0.4507/3.169, allocations: 28.36 MB / 1.523 GB, free: 123 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)