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.7239/0.7239, allocations: 127.3 MB / 139.8 MB, free: 15.42 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.001052/0.001052, allocations: 180.8 kB / 169.7 MB, free: 1.715 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.802/1.802, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009302/0.0009301, allocations: 91.22 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.303e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1816, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.202/6.384, allocations: 2.163 GB / 2.791 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/6.384, allocations: 91.95 kB / 2.791 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.86/10.24, allocations: 1.031 GB / 3.822 GB, free: 80.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.403e-06/10.24, allocations: 0 / 3.822 GB, free: 80.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001706/10.24, allocations: 48.06 kB / 3.822 GB, free: 80.3 MB / 0.6667 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.004485/10.25, allocations: 2.072 MB / 3.824 GB, free: 79.28 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/10.25, allocations: 7.875 kB / 3.824 GB, free: 79.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/10.25, allocations: 0.6151 MB / 3.825 GB, free: 79.17 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/10.26, allocations: 1.58 MB / 3.826 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/10.26, allocations: 91.19 kB / 3.827 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/10.26, allocations: 124.2 kB / 3.827 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/10.26, allocations: 1.378 MB / 3.828 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/10.26, allocations: 0 / 3.828 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/10.26, allocations: 50.97 kB / 3.828 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/10.26, allocations: 45.03 kB / 3.828 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/10.26, allocations: 1.053 MB / 3.829 GB, free: 78.49 MB / 0.6667 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.00695/10.27, allocations: 5.662 MB / 3.835 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/10.27, allocations: 0.9716 MB / 3.836 GB, free: 75.83 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/10.27, allocations: 456.6 kB / 3.836 GB, free: 75.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/10.27, allocations: 302.6 kB / 3.836 GB, free: 75.54 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/10.27, allocations: 0.5406 MB / 3.837 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 3.457e-06/10.27, allocations: 0 / 3.837 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.00712/10.28, allocations: 2.966 MB / 3.84 GB, free: 74.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/10.28, allocations: 198.9 kB / 3.84 GB, free: 74.47 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/10.28, allocations: 1.117 MB / 3.841 GB, free: 74.31 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/10.28, allocations: 49.7 kB / 3.841 GB, free: 74.28 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/10.28, allocations: 0.744 MB / 3.842 GB, free: 74.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/10.28, allocations: 322.6 kB / 3.842 GB, free: 73.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/10.28, allocations: 17.94 kB / 3.842 GB, free: 73.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/10.28, allocations: 345.2 kB / 3.842 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/10.28, allocations: 360.3 kB / 3.843 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/10.28, allocations: 0.5852 MB / 3.843 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006486/10.29, allocations: 1.596 MB / 3.845 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/10.29, allocations: 3.531 kB / 3.845 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003723/10.29, allocations: 1.579 MB / 3.846 GB, free: 72.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002946/10.29, allocations: 1.306 MB / 3.848 GB, free: 71.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/10.29, allocations: 2.219 kB / 3.848 GB, free: 71.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/10.29, allocations: 373.3 kB / 3.848 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/10.29, allocations: 155.5 kB / 3.848 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/10.3, allocations: 6.708 MB / 3.855 GB, free: 66.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/10.3, allocations: 115.2 kB / 3.855 GB, free: 66.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/10.3, allocations: 39.61 kB / 3.855 GB, free: 66.96 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/10.3, allocations: 3.781 kB / 3.855 GB, free: 66.96 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/10.3, allocations: 1.435 MB / 3.856 GB, free: 66.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/10.3, allocations: 3.781 kB / 3.856 GB, free: 66.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008745/10.31, allocations: 369.9 kB / 3.857 GB, free: 66.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/10.31, allocations: 136.1 kB / 3.857 GB, free: 66.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/10.31, allocations: 7.672 MB / 3.864 GB, free: 60.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/10.32, allocations: 94.31 kB / 3.864 GB, free: 60.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/10.32, allocations: 37.94 kB / 3.864 GB, free: 60.12 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. 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.0004969/10.32, allocations: 195.1 kB / 3.865 GB, free: 59.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/10.32, allocations: 175.6 kB / 3.865 GB, free: 59.86 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/10.32, allocations: 1.373 MB / 3.866 GB, free: 59.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/10.32, allocations: 9.625 kB / 3.866 GB, free: 59.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/10.32, allocations: 2.516 kB / 3.866 GB, free: 59.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002686/10.32, allocations: 1.223 MB / 3.867 GB, free: 58.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007211/10.33, allocations: 3.148 MB / 3.87 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/10.33, allocations: 3.625 kB / 3.87 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/10.33, allocations: 171.3 kB / 3.871 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/10.33, allocations: 158 kB / 3.871 GB, free: 57.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/10.33, allocations: 29.91 kB / 3.871 GB, free: 57.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/10.34, allocations: 3.444 MB / 3.874 GB, free: 54.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/10.34, allocations: 7.734 kB / 3.874 GB, free: 54.15 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/10.34, allocations: 2.261 MB / 3.876 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/10.34, allocations: 348.3 kB / 3.877 GB, free: 52.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/10.34, allocations: 29.91 kB / 3.877 GB, free: 52.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/10.34, allocations: 114.3 kB / 3.877 GB, free: 52.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/10.34, allocations: 74.31 kB / 3.877 GB, free: 52.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/10.34, allocations: 40.3 kB / 3.877 GB, free: 52.55 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001776/10.34, allocations: 0.8707 MB / 3.878 GB, free: 52.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.353e-06/10.34, allocations: 0 / 3.878 GB, free: 52.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004733/10.35, allocations: 0.9853 MB / 3.879 GB, free: 52 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.004269/10.35, allocations: 2.399 MB / 3.881 GB, free: 51.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004135/10.36, allocations: 2.632 MB / 3.884 GB, free: 49.42 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/10.36, allocations: 0 / 3.884 GB, free: 49.42 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/10.36, allocations: 0.8067 MB / 3.884 GB, free: 48.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/10.36, allocations: 0.8479 MB / 3.885 GB, free: 48.71 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/10.37, allocations: 2.565 MB / 3.888 GB, free: 47.49 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/10.37, allocations: 1.404 MB / 3.889 GB, free: 46.48 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003052/10.37, allocations: 496.1 kB / 3.89 GB, free: 46.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/10.38, allocations: 87.23 kB / 3.89 GB, free: 46.06 MB / 0.6667 GB Notification: Performance of SimCode: time 1.193e-06/10.38, allocations: 0 / 3.89 GB, free: 46.06 MB / 0.6667 GB Notification: Performance of Templates: time 0.5943/10.97, allocations: 70.66 MB / 3.959 GB, free: 100.3 MB / 0.6823 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)