Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7278/0.7278, allocations: 127.4 MB / 134.9 MB, free: 3.77 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: 180.8 kB / 164.6 MB, free: 6.543 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.688/1.688, allocations: 205.2 MB / 399.5 MB, free: 5.855 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.0009227/0.0009228, allocations: 90.09 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.045e-05, allocations: 4 kB / 0.5466 GB, free: 60.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1776, allocations: 76.75 MB / 0.6215 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.792/5.969, allocations: 2.163 GB / 2.784 GB, free: 69.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/5.97, allocations: 94.34 kB / 2.784 GB, free: 69.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.651/9.621, allocations: 1.02 GB / 3.804 GB, free: 18.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/9.621, allocations: 4 kB / 3.804 GB, free: 18.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002854/9.621, allocations: 47.98 kB / 3.804 GB, free: 18.46 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.005701/9.627, allocations: 2.072 MB / 3.806 GB, free: 16.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/9.627, allocations: 16.03 kB / 3.806 GB, free: 16.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004238/9.631, allocations: 0.6142 MB / 3.807 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/9.636, allocations: 1.573 MB / 3.808 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/9.636, allocations: 40 kB / 3.808 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004411/9.636, allocations: 80.77 kB / 3.809 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002257/9.638, allocations: 0.9496 MB / 3.809 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/9.641, allocations: 1.176 MB / 3.811 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/9.641, allocations: 0 / 3.811 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/9.641, allocations: 11.94 kB / 3.811 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/9.641, allocations: 38.25 kB / 3.811 GB, free: 11.69 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.008561/9.65, allocations: 5.411 MB / 3.816 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/9.651, allocations: 0.9014 MB / 3.817 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/9.651, allocations: 443 kB / 3.817 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005476/9.652, allocations: 296 kB / 3.818 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007099/9.653, allocations: 494.5 kB / 3.818 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=86): time 3.626e-06/9.653, allocations: 0 / 3.818 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of matching and sorting (n=94): time 0.009247/9.662, allocations: 2.885 MB / 3.821 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/9.662, allocations: 192.7 kB / 3.821 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/9.664, allocations: 0.886 MB / 3.822 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/9.664, allocations: 25.7 kB / 3.822 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/9.665, allocations: 0.7515 MB / 3.823 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/9.666, allocations: 311.4 kB / 3.823 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/9.666, allocations: 4 kB / 3.823 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001757/9.666, allocations: 345.9 kB / 3.823 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/9.667, allocations: 346.5 kB / 3.824 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/9.668, allocations: 0.5623 MB / 3.824 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/9.672, allocations: 1.218 MB / 3.825 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/9.672, allocations: 4 kB / 3.825 GB, free: 12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004582/9.676, allocations: 1.541 MB / 3.827 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006553/9.677, allocations: 1.284 MB / 3.828 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/9.677, allocations: 7.953 kB / 3.828 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/9.678, allocations: 371.4 kB / 3.828 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/9.679, allocations: 159.7 kB / 3.829 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/9.686, allocations: 6.344 MB / 3.835 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/9.688, allocations: 95.77 kB / 3.835 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/9.688, allocations: 39.98 kB / 3.835 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/9.688, allocations: 10.81 kB / 3.835 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003369/9.691, allocations: 1.356 MB / 3.836 GB, free: 240 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/9.692, allocations: 4 kB / 3.836 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4892/10.18, allocations: 354.9 kB / 3.837 GB, free: 81.13 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/10.18, allocations: 139 kB / 3.837 GB, free: 81.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007485/10.19, allocations: 7.242 MB / 3.844 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/10.19, allocations: 72.69 kB / 3.844 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/10.19, allocations: 37.25 kB / 3.844 GB, free: 76.16 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * 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: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004197/10.19, allocations: 176.2 kB / 3.844 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/10.19, allocations: 152.2 kB / 3.844 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/10.2, allocations: 1.304 MB / 3.846 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/10.2, allocations: 12.03 kB / 3.846 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/10.2, allocations: 0 / 3.846 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003204/10.2, allocations: 1.204 MB / 3.847 GB, free: 75.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/10.21, allocations: 2.928 MB / 3.85 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/10.21, allocations: 3.281 kB / 3.85 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/10.21, allocations: 170.7 kB / 3.85 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/10.21, allocations: 165.4 kB / 3.85 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/10.21, allocations: 20.11 kB / 3.85 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/10.21, allocations: 3.318 MB / 3.853 GB, free: 72.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/10.21, allocations: 9.5 kB / 3.853 GB, free: 72.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/10.22, allocations: 2.197 MB / 3.855 GB, free: 72.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/10.22, allocations: 330.4 kB / 3.856 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/10.22, allocations: 14.81 kB / 3.856 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/10.22, allocations: 93.39 kB / 3.856 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/10.22, allocations: 72.75 kB / 3.856 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/10.22, allocations: 40.3 kB / 3.856 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001623/10.22, allocations: 0.6748 MB / 3.857 GB, free: 71.85 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/10.22, allocations: 0 / 3.857 GB, free: 71.85 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005571/10.23, allocations: 0.9287 MB / 3.857 GB, free: 71.85 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005653/10.23, allocations: 2.651 MB / 3.86 GB, free: 71.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004612/10.24, allocations: 2.479 MB / 3.862 GB, free: 70.17 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/10.24, allocations: 1.25 kB / 3.862 GB, free: 70.17 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/10.24, allocations: 0.7696 MB / 3.863 GB, free: 69.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/10.24, allocations: 0.7086 MB / 3.864 GB, free: 69.88 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007359/10.25, allocations: 2.485 MB / 3.866 GB, free: 69.15 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/10.25, allocations: 1.396 MB / 3.868 GB, free: 68.43 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003212/10.26, allocations: 433.1 kB / 3.868 GB, free: 68.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/10.26, allocations: 83.81 kB / 3.868 GB, free: 68.41 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/10.26, allocations: 3.469 kB / 3.868 GB, free: 68.41 MB / 0.6667 GB Notification: Performance of Templates: time 0.0795/10.34, allocations: 46.81 MB / 3.914 GB, free: 66.57 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)