Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7642/0.7642, allocations: 128.8 MB / 143.7 MB, free: 2.34 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.001254/0.001254, allocations: 179.3 kB / 173.8 MB, free: 6.141 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.739/1.739, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009382/0.0009383, allocations: 106 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 9.781 kB / 0.5603 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1762, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.378, allocations: 390.4 MB / 1.017 GB, free: 234.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.378, allocations: 99.39 kB / 1.017 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.03/9.408, allocations: 2.298 GB / 3.314 GB, free: 9.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/9.408, allocations: 0 / 3.314 GB, free: 9.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001797/9.41, allocations: 259.7 kB / 3.315 GB, free: 8.797 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.9412/10.35, allocations: 9.458 MB / 3.324 GB, free: 71.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/10.35, allocations: 7.969 kB / 3.324 GB, free: 71.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009554/10.36, allocations: 1.27 MB / 3.325 GB, free: 71.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03792/10.4, allocations: 14.53 MB / 3.339 GB, free: 70.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/10.4, allocations: 445 kB / 3.34 GB, free: 70.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/10.4, allocations: 0.5769 MB / 3.34 GB, free: 70.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/10.44, allocations: 14.15 MB / 3.354 GB, free: 69.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/10.44, allocations: 29.47 kB / 3.354 GB, free: 69.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001798/10.44, allocations: 240.1 kB / 3.354 GB, free: 69.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/10.44, allocations: 138 kB / 3.354 GB, free: 69.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/10.47, allocations: 18.83 MB / 3.373 GB, free: 69.49 MB / 0.698 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.1134/10.59, allocations: 56.02 MB / 3.428 GB, free: 50.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02321/10.61, allocations: 9.163 MB / 3.436 GB, free: 50.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05431/10.67, allocations: 24.5 MB / 3.46 GB, free: 42.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01697/10.68, allocations: 7.986 MB / 3.468 GB, free: 42.82 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0505/10.73, allocations: 21.15 MB / 3.489 GB, free: 41.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=279): time 5.8e-05/10.73, allocations: 2.719 kB / 3.489 GB, free: 41.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=279): time 0.06758/10.8, allocations: 24.29 MB / 3.513 GB, free: 34.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/10.8, allocations: 135.6 kB / 3.513 GB, free: 34.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/10.82, allocations: 7.294 MB / 3.52 GB, free: 32.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002567/10.82, allocations: 94.52 kB / 3.52 GB, free: 32.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004387/10.82, allocations: 4.073 MB / 3.524 GB, free: 29.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00296/10.83, allocations: 1.003 MB / 3.525 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/10.83, allocations: 91.62 kB / 3.525 GB, free: 28.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003115/10.83, allocations: 485.9 kB / 3.525 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009477/10.84, allocations: 6.27 MB / 3.532 GB, free: 25.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01217/10.85, allocations: 8.19 MB / 3.54 GB, free: 20.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/10.86, allocations: 7.136 MB / 3.547 GB, free: 16.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.041e-05/10.86, allocations: 16 kB / 3.547 GB, free: 16.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04744/10.91, allocations: 17.99 MB / 3.564 GB, free: 1.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.01318/10.92, allocations: 27.81 MB / 3.591 GB, free: 4.133 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002373/10.92, allocations: 59.42 kB / 3.591 GB, free: 4.078 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5731/11.5, allocations: 12.11 MB / 3.603 GB, free: 99.59 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009077/11.51, allocations: 1.569 MB / 3.605 GB, free: 99.59 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/11.52, allocations: 7.152 MB / 3.612 GB, free: 96.77 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/11.54, allocations: 0.5601 MB / 3.612 GB, free: 96.77 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003735/11.54, allocations: 0.5517 MB / 3.613 GB, free: 96.77 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/11.54, allocations: 11.97 kB / 3.613 GB, free: 96.77 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03697/11.58, allocations: 15.95 MB / 3.628 GB, free: 96.47 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002763/11.58, allocations: 54.03 kB / 3.628 GB, free: 96.47 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07052/11.65, allocations: 10.63 MB / 3.639 GB, free: 96.43 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009012/11.66, allocations: 1.568 MB / 3.64 GB, free: 96.43 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/11.67, allocations: 10.14 MB / 3.65 GB, free: 91.9 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01507/11.69, allocations: 0.4974 MB / 3.651 GB, free: 91.9 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003319/11.69, allocations: 0.5384 MB / 3.651 GB, free: 91.9 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 499 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.01012/11.7, allocations: 2.634 MB / 3.654 GB, free: 91.71 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005025/11.7, allocations: 0.7468 MB / 3.655 GB, free: 91.71 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0438/11.75, allocations: 14.8 MB / 3.669 GB, free: 91.43 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.967e-05/11.75, allocations: 29.75 kB / 3.669 GB, free: 91.43 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/11.75, allocations: 0 / 3.669 GB, free: 91.43 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02967/11.78, allocations: 11.27 MB / 3.68 GB, free: 90.94 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05915/11.84, allocations: 24.72 MB / 3.704 GB, free: 87.83 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/11.84, allocations: 0 / 3.704 GB, free: 87.83 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005461/11.84, allocations: 0.5903 MB / 3.705 GB, free: 87.83 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06589/11.91, allocations: 10.35 MB / 3.715 GB, free: 87.37 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001619/11.91, allocations: 108.7 kB / 3.715 GB, free: 87.37 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04428/11.96, allocations: 14.15 MB / 3.729 GB, free: 82.66 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/11.96, allocations: 0 / 3.729 GB, free: 82.66 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04345/12, allocations: 19.42 MB / 3.748 GB, free: 82.12 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008903/12.01, allocations: 1.96 MB / 3.75 GB, free: 81.63 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004285/12.01, allocations: 66.64 kB / 3.75 GB, free: 81.63 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/12.02, allocations: 417.8 kB / 3.75 GB, free: 81.58 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001913/12.02, allocations: 235.4 kB / 3.75 GB, free: 81.57 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001466/12.03, allocations: 157.9 kB / 3.75 GB, free: 81.57 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.01497/12.04, allocations: 5.691 MB / 3.756 GB, free: 81.02 MB / 0.7293 GB Notification: Performance of sort global known variables: time 6.61e-07/12.04, allocations: 0 / 3.756 GB, free: 81.02 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.03043/12.07, allocations: 4.925 MB / 3.761 GB, free: 80.55 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (281): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004831/12.08, allocations: 1.28 MB / 3.762 GB, free: 80.17 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.04731/12.12, allocations: 23.54 MB / 3.785 GB, free: 70.59 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/12.12, allocations: 6.719 kB / 3.785 GB, free: 70.59 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.01843/12.14, allocations: 7.07 MB / 3.792 GB, free: 66.98 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02423/12.17, allocations: 4.593 MB / 3.796 GB, free: 63.73 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0483/12.21, allocations: 22.76 MB / 3.819 GB, free: 43.68 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009323/12.22, allocations: 5.371 MB / 3.824 GB, free: 39.79 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.03028/12.25, allocations: 5.033 MB / 3.829 GB, free: 35.93 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006954/12.26, allocations: 0.919 MB / 3.83 GB, free: 35.26 MB / 0.7293 GB Notification: Performance of SimCode: time 1.082e-06/12.26, allocations: 0 / 3.83 GB, free: 35.26 MB / 0.7293 GB Notification: Performance of Templates: time 0.7973/13.06, allocations: 228.6 MB / 4.053 GB, free: 44.65 MB / 0.7293 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)