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.7356/0.7356, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001178/0.001178, allocations: 188.7 kB / 169.7 MB, free: 1.738 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.735/1.735, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.001058/0.001058, allocations: 96.73 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.041e-05, allocations: 4 kB / 0.5532 GB, free: 54.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 76.76 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.374, allocations: 390.3 MB / 1.009 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/1.374, allocations: 92.94 kB / 1.009 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.553/10.93, allocations: 2.29 GB / 3.299 GB, free: 68.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/10.93, allocations: 0 / 3.299 GB, free: 68.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001921/10.93, allocations: 256.2 kB / 3.299 GB, free: 68.6 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.03348/10.96, allocations: 7.287 MB / 3.306 GB, free: 65.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/10.96, allocations: 15.12 kB / 3.306 GB, free: 65.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/10.97, allocations: 1.263 MB / 3.308 GB, free: 65.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/11.01, allocations: 14.45 MB / 3.322 GB, free: 63.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/11.02, allocations: 437.4 kB / 3.322 GB, free: 63.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/11.02, allocations: 0.5816 MB / 3.323 GB, free: 63.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/11.05, allocations: 13.91 MB / 3.336 GB, free: 63.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/11.05, allocations: 21.31 kB / 3.336 GB, free: 63.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002357/11.06, allocations: 242.5 kB / 3.337 GB, free: 63.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.99e-05/11.06, allocations: 136.3 kB / 3.337 GB, free: 63.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03371/11.09, allocations: 18.49 MB / 3.355 GB, free: 63.07 MB / 0.698 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.1008/11.19, allocations: 55.92 MB / 3.409 GB, free: 43.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/11.21, allocations: 8.954 MB / 3.418 GB, free: 43.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01387/11.22, allocations: 9.129 MB / 3.427 GB, free: 41.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04956/11.27, allocations: 24.44 MB / 3.451 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01397/11.28, allocations: 7.82 MB / 3.459 GB, free: 26.02 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04786/11.33, allocations: 21.15 MB / 3.479 GB, free: 12.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=279): time 3.896e-05/11.33, allocations: 0 / 3.479 GB, free: 12.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=279): time 0.6355/11.97, allocations: 16.1 MB / 3.495 GB, free: 74.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/11.97, allocations: 137 kB / 3.495 GB, free: 74.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/11.98, allocations: 7.219 MB / 3.502 GB, free: 74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002667/11.99, allocations: 94.2 kB / 3.502 GB, free: 73.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005002/11.99, allocations: 4.077 MB / 3.506 GB, free: 73.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003296/11.99, allocations: 1.01 MB / 3.507 GB, free: 73.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009086/12, allocations: 86.94 kB / 3.507 GB, free: 73.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003614/12, allocations: 493.5 kB / 3.508 GB, free: 72.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/12.01, allocations: 6.088 MB / 3.514 GB, free: 72.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01416/12.02, allocations: 8.009 MB / 3.521 GB, free: 70.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/12.04, allocations: 6.977 MB / 3.528 GB, free: 70.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/12.04, allocations: 16.78 kB / 3.528 GB, free: 70.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04691/12.08, allocations: 17.56 MB / 3.545 GB, free: 69.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.006601/12.09, allocations: 27.82 MB / 3.573 GB, free: 40.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/12.09, allocations: 53.09 kB / 3.573 GB, free: 40.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06307/12.15, allocations: 11.15 MB / 3.584 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008945/12.16, allocations: 1.57 MB / 3.585 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/12.17, allocations: 6.903 MB / 3.592 GB, free: 37.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/12.19, allocations: 0.5601 MB / 3.592 GB, free: 37.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002935/12.19, allocations: 0.5565 MB / 3.593 GB, free: 37.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/12.19, allocations: 7.172 kB / 3.593 GB, free: 37.86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02648/12.22, allocations: 15.75 MB / 3.608 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/12.22, allocations: 55.75 kB / 3.608 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05898/12.28, allocations: 10.61 MB / 3.619 GB, free: 36.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008952/12.29, allocations: 1.575 MB / 3.62 GB, free: 36.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/12.3, allocations: 9.969 MB / 3.63 GB, free: 47.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/12.31, allocations: 0.5016 MB / 3.63 GB, free: 47.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003047/12.31, allocations: 0.5331 MB / 3.631 GB, free: 47.91 MB / 0.7136 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 () * 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.003387/12.32, allocations: 412 kB / 3.631 GB, free: 47.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003363/12.32, allocations: 0.7472 MB / 3.632 GB, free: 47.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03486/12.36, allocations: 14.39 MB / 3.646 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.396e-05/12.36, allocations: 35.53 kB / 3.646 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/12.36, allocations: 0 / 3.646 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02199/12.38, allocations: 10.86 MB / 3.657 GB, free: 46.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05138/12.43, allocations: 24.27 MB / 3.68 GB, free: 40.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/12.43, allocations: 0 / 3.68 GB, free: 40.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005282/12.44, allocations: 0.5933 MB / 3.681 GB, free: 40.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0585/12.49, allocations: 10.19 MB / 3.691 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001289/12.5, allocations: 103.7 kB / 3.691 GB, free: 39.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03371/12.53, allocations: 12.93 MB / 3.704 GB, free: 32.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/12.53, allocations: 3.938 kB / 3.704 GB, free: 32.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03678/12.57, allocations: 18.85 MB / 3.722 GB, free: 20.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008393/12.57, allocations: 1.965 MB / 3.724 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00488/12.58, allocations: 68.88 kB / 3.724 GB, free: 19.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01125/12.59, allocations: 410.4 kB / 3.725 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00188/12.59, allocations: 234.2 kB / 3.725 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009221/12.59, allocations: 157.3 kB / 3.725 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01119/12.6, allocations: 5.618 MB / 3.73 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.92e-07/12.6, allocations: 0 / 3.73 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02804/12.63, allocations: 4.922 MB / 3.735 GB, free: 9.156 MB / 0.7136 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) * 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.004144/12.64, allocations: 1.275 MB / 3.736 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.05862/12.7, allocations: 24.16 MB / 3.76 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/12.7, allocations: 5.062 kB / 3.76 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01652/12.71, allocations: 6.887 MB / 3.767 GB, free: 152 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5719/13.28, allocations: 4.603 MB / 3.771 GB, free: 97.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04709/13.33, allocations: 17.5 MB / 3.788 GB, free: 95.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/13.34, allocations: 5.381 MB / 3.794 GB, free: 94.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.03487/13.38, allocations: 7.968 MB / 3.801 GB, free: 93.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005419/13.38, allocations: 0.7618 MB / 3.802 GB, free: 93.39 MB / 0.7292 GB Notification: Performance of SimCode: time 1.473e-06/13.38, allocations: 0 / 3.802 GB, free: 93.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.3771/13.76, allocations: 236.8 MB / 4.033 GB, free: 5.223 MB / 0.7605 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)