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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6665/0.6665, allocations: 117.9 MB / 133.9 MB, free: 4.512 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.001053/0.001053, allocations: 179.8 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 394.8 MB, free: 21.12 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.0008591/0.0008591, allocations: 100.9 kB / 470.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 12 kB / 0.5423 GB, free: 7.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4332, allocations: 74.53 MB / 0.6151 GB, free: 54.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.658, allocations: 389.4 MB / 0.9954 GB, free: 232.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.658, allocations: 103 kB / 0.9955 GB, free: 232.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.965/10.62, allocations: 2.28 GB / 3.275 GB, free: 82.46 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.755e-06/10.62, allocations: 0 / 3.275 GB, free: 82.46 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.001734/10.63, allocations: 261.4 kB / 3.276 GB, free: 82.41 MB / 0.6824 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.04025/10.67, allocations: 9.37 MB / 3.285 GB, free: 79.11 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/10.67, allocations: 11.5 kB / 3.285 GB, free: 79.11 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/10.68, allocations: 1.274 MB / 3.286 GB, free: 78.61 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03837/10.72, allocations: 14.01 MB / 3.3 GB, free: 76.81 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007843/10.72, allocations: 438.5 kB / 3.3 GB, free: 76.8 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004397/10.72, allocations: 0.5785 MB / 3.301 GB, free: 76.79 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04192/10.76, allocations: 14.2 MB / 3.315 GB, free: 75.98 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005433/10.76, allocations: 28.66 kB / 3.315 GB, free: 75.97 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004539/10.77, allocations: 237 kB / 3.315 GB, free: 75.97 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/10.77, allocations: 146.7 kB / 3.315 GB, free: 75.97 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03753/10.81, allocations: 18.83 MB / 3.333 GB, free: 75.93 MB / 0.6824 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.1061/10.91, allocations: 55.7 MB / 3.388 GB, free: 56.52 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/10.93, allocations: 9.164 MB / 3.397 GB, free: 56.43 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0126/10.94, allocations: 9.24 MB / 3.406 GB, free: 56.18 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05784/11, allocations: 24.32 MB / 3.43 GB, free: 48.12 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01751/11.02, allocations: 7.996 MB / 3.437 GB, free: 45.48 MB / 0.6824 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04957/11.07, allocations: 21.13 MB / 3.458 GB, free: 42.71 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=279): time 4.474e-05/11.07, allocations: 0 / 3.458 GB, free: 42.71 MB / 0.6824 GB Notification: Performance of matching and sorting (n=279): time 0.07246/11.14, allocations: 25.01 MB / 3.482 GB, free: 32.29 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/11.14, allocations: 137 kB / 3.483 GB, free: 32.13 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01772/11.16, allocations: 7.615 MB / 3.49 GB, free: 25.96 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.003121/11.16, allocations: 97.7 kB / 3.49 GB, free: 25.86 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.006342/11.17, allocations: 4.066 MB / 3.494 GB, free: 22.15 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.004604/11.17, allocations: 1.004 MB / 3.495 GB, free: 21.24 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002538/11.17, allocations: 88 kB / 3.495 GB, free: 21.15 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0004683/11.17, allocations: 488.5 kB / 3.496 GB, free: 20.72 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/11.18, allocations: 6.271 MB / 3.502 GB, free: 15.58 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01182/11.2, allocations: 8.203 MB / 3.51 GB, free: 7.695 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5732/11.77, allocations: 16.02 MB / 3.525 GB, free: 73.04 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-05/11.77, allocations: 14.97 kB / 3.525 GB, free: 73.04 MB / 0.6824 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04813/11.82, allocations: 18.36 MB / 3.543 GB, free: 72.84 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.001516/11.82, allocations: 1.683 MB / 3.545 GB, free: 70.84 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-05/11.82, allocations: 52.22 kB / 3.545 GB, free: 70.84 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06004/11.88, allocations: 11.29 MB / 3.556 GB, free: 70.79 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008311/11.89, allocations: 1.578 MB / 3.558 GB, free: 70.79 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04645/11.93, allocations: 16.85 MB / 3.574 GB, free: 66.14 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/11.95, allocations: 0.5577 MB / 3.575 GB, free: 66.14 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003001/11.95, allocations: 0.557 MB / 3.575 GB, free: 66.14 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/11.95, allocations: 3.344 kB / 3.575 GB, free: 66.14 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03136/11.98, allocations: 15.97 MB / 3.591 GB, free: 65.84 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/11.98, allocations: 51.16 kB / 3.591 GB, free: 65.84 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05654/12.04, allocations: 10.61 MB / 3.601 GB, free: 65.08 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008472/12.05, allocations: 1.57 MB / 3.603 GB, free: 65.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/12.06, allocations: 10.02 MB / 3.612 GB, free: 60.45 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/12.07, allocations: 0.4927 MB / 3.613 GB, free: 60.43 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003064/12.07, allocations: 0.5381 MB / 3.613 GB, free: 60.43 MB / 0.6824 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.009441/12.08, allocations: 2.628 MB / 3.616 GB, free: 60.24 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004445/12.09, allocations: 0.7506 MB / 3.617 GB, free: 60.23 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04165/12.13, allocations: 14.8 MB / 3.631 GB, free: 59.69 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-05/12.13, allocations: 39 kB / 3.631 GB, free: 59.69 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/12.13, allocations: 0 / 3.631 GB, free: 59.69 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02608/12.16, allocations: 11.27 MB / 3.642 GB, free: 59.13 MB / 0.6824 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 postOpt removeSimpleEquations (simulation): time 0.05464/12.21, allocations: 24.57 MB / 3.666 GB, free: 55.95 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/12.21, allocations: 6.672 kB / 3.666 GB, free: 55.95 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004708/12.21, allocations: 0.5857 MB / 3.667 GB, free: 55.94 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05831/12.27, allocations: 10.34 MB / 3.677 GB, free: 55.15 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/12.27, allocations: 109.7 kB / 3.677 GB, free: 55.15 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03746/12.31, allocations: 13.64 MB / 3.69 GB, free: 50.44 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/12.31, allocations: 0 / 3.69 GB, free: 50.44 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04062/12.35, allocations: 19.43 MB / 3.709 GB, free: 41.91 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007823/12.36, allocations: 1.86 MB / 3.711 GB, free: 40.35 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003558/12.36, allocations: 67.8 kB / 3.711 GB, free: 40.29 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008968/12.37, allocations: 415.5 kB / 3.712 GB, free: 40 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001842/12.37, allocations: 228.5 kB / 3.712 GB, free: 39.86 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001275/12.38, allocations: 162.2 kB / 3.712 GB, free: 39.74 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.01425/12.39, allocations: 5.228 MB / 3.717 GB, free: 35.59 MB / 0.6824 GB Notification: Performance of sort global known variables: time 9.92e-07/12.39, allocations: 1.406 kB / 3.717 GB, free: 35.59 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.02874/12.42, allocations: 4.936 MB / 3.722 GB, free: 30.91 MB / 0.6824 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.004102/12.42, allocations: 1.256 MB / 3.723 GB, free: 29.95 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0434/12.47, allocations: 23.98 MB / 3.747 GB, free: 9.652 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/12.47, allocations: 5 kB / 3.747 GB, free: 9.648 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0146/12.48, allocations: 7.066 MB / 3.753 GB, free: 3.395 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02858/12.51, allocations: 4.594 MB / 3.758 GB, free: 148 kB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/12.56, allocations: 22.74 MB / 3.78 GB, free: 12.08 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009321/12.57, allocations: 5.225 MB / 3.785 GB, free: 8.188 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.025/12.6, allocations: 4.995 MB / 3.79 GB, free: 4.316 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006662/12.6, allocations: 0.9066 MB / 3.791 GB, free: 3.656 MB / 0.7137 GB Notification: Performance of SimCode: time 1.362e-06/12.6, allocations: 0 / 3.791 GB, free: 3.656 MB / 0.7137 GB Notification: Performance of Templates: time 0.7865/13.39, allocations: 234.7 MB / 4.02 GB, free: 3.418 MB / 0.7137 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)