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.8013/0.8013, allocations: 128.7 MB / 143.7 MB, free: 2.289 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.001041/0.001041, allocations: 182.3 kB / 173.8 MB, free: 6.109 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.645/1.645, allocations: 205.4 MB / 409 MB, free: 10.47 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.001029/0.001029, allocations: 106.3 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 8.281 kB / 0.5603 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1407, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.771/4.911, allocations: 2.163 GB / 2.799 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/4.912, allocations: 99.91 kB / 2.799 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.334/8.245, allocations: 1.032 GB / 3.831 GB, free: 80.89 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.272e-06/8.246, allocations: 0 / 3.831 GB, free: 80.89 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001896/8.246, allocations: 50.42 kB / 3.831 GB, free: 80.88 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.005444/8.251, allocations: 2.383 MB / 3.833 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/8.251, allocations: 10 kB / 3.833 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/8.255, allocations: 0.6214 MB / 3.834 GB, free: 79.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/8.259, allocations: 1.577 MB / 3.835 GB, free: 79.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/8.259, allocations: 95.64 kB / 3.835 GB, free: 79.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/8.259, allocations: 125.1 kB / 3.835 GB, free: 79.28 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/8.262, allocations: 1.442 MB / 3.837 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/8.262, allocations: 8.094 kB / 3.837 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/8.262, allocations: 48.5 kB / 3.837 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/8.262, allocations: 41.72 kB / 3.837 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/8.265, allocations: 1.156 MB / 3.838 GB, free: 79.05 MB / 0.6667 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.008021/8.273, allocations: 5.656 MB / 3.844 GB, free: 76.69 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/8.275, allocations: 1.08 MB / 3.845 GB, free: 76.47 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004929/8.275, allocations: 305.2 kB / 3.845 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/8.276, allocations: 0.599 MB / 3.846 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 4.148e-06/8.276, allocations: 0 / 3.846 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.01012/8.287, allocations: 3.922 MB / 3.849 GB, free: 75.06 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/8.287, allocations: 191.5 kB / 3.85 GB, free: 74.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/8.288, allocations: 1.133 MB / 3.851 GB, free: 74.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/8.288, allocations: 47.83 kB / 3.851 GB, free: 74.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/8.289, allocations: 0.7472 MB / 3.851 GB, free: 74.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/8.289, allocations: 318.9 kB / 3.852 GB, free: 74.22 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/8.289, allocations: 14.75 kB / 3.852 GB, free: 74.22 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/8.289, allocations: 349.6 kB / 3.852 GB, free: 73.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/8.29, allocations: 415.3 kB / 3.852 GB, free: 73.91 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/8.291, allocations: 0.6355 MB / 3.853 GB, free: 73.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00738/8.299, allocations: 1.683 MB / 3.855 GB, free: 73.51 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/8.299, allocations: 5.781 kB / 3.855 GB, free: 73.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004388/8.303, allocations: 1.641 MB / 3.856 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/8.303, allocations: 1.305 MB / 3.858 GB, free: 71.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/8.303, allocations: 3.781 kB / 3.858 GB, free: 71.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/8.305, allocations: 385.7 kB / 3.858 GB, free: 71.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/8.305, allocations: 150.7 kB / 3.858 GB, free: 71.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/8.312, allocations: 6.892 MB / 3.865 GB, free: 67.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/8.314, allocations: 118.7 kB / 3.865 GB, free: 67.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/8.314, allocations: 42.44 kB / 3.865 GB, free: 67.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/8.314, allocations: 5.062 kB / 3.865 GB, free: 67.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002874/8.317, allocations: 1.431 MB / 3.866 GB, free: 67.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/8.317, allocations: 3.812 kB / 3.866 GB, free: 67.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/8.318, allocations: 371.3 kB / 3.867 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/8.318, allocations: 132.7 kB / 3.867 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006831/8.325, allocations: 7.836 MB / 3.875 GB, free: 61.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/8.327, allocations: 106.6 kB / 3.875 GB, free: 61.87 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/8.327, allocations: 35.94 kB / 3.875 GB, free: 61.87 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 () * Number of clocked 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.001225/8.328, allocations: 0.5105 MB / 3.875 GB, free: 61.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/8.329, allocations: 173.5 kB / 3.875 GB, free: 61.56 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/8.333, allocations: 1.481 MB / 3.877 GB, free: 61.42 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/8.333, allocations: 7.406 kB / 3.877 GB, free: 61.42 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/8.333, allocations: 0.9375 kB / 3.877 GB, free: 61.42 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003174/8.336, allocations: 1.344 MB / 3.878 GB, free: 61.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/8.343, allocations: 3.239 MB / 3.881 GB, free: 60.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/8.343, allocations: 3.719 kB / 3.881 GB, free: 60.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/8.344, allocations: 172 kB / 3.881 GB, free: 60.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/8.344, allocations: 176.8 kB / 3.882 GB, free: 60.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.82e-05/8.344, allocations: 31.52 kB / 3.882 GB, free: 60.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/8.349, allocations: 3.571 MB / 3.885 GB, free: 57.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/8.349, allocations: 7.656 kB / 3.885 GB, free: 57.95 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/8.354, allocations: 2.411 MB / 3.887 GB, free: 57.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009763/8.355, allocations: 349.1 kB / 3.888 GB, free: 57.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/8.355, allocations: 23.22 kB / 3.888 GB, free: 57.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/8.357, allocations: 112.7 kB / 3.888 GB, free: 57.03 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/8.357, allocations: 75.78 kB / 3.888 GB, free: 57.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/8.357, allocations: 45.91 kB / 3.888 GB, free: 57.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001241/8.358, allocations: 0.8886 MB / 3.889 GB, free: 56.91 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3e-07/8.358, allocations: 0 / 3.889 GB, free: 56.91 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003606/8.362, allocations: 0.984 MB / 3.89 GB, free: 56.89 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.003144/8.365, allocations: 2.4 MB / 3.892 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003896/8.369, allocations: 2.7 MB / 3.895 GB, free: 55.12 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/8.369, allocations: 3.312 kB / 3.895 GB, free: 55.12 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/8.37, allocations: 0.854 MB / 3.896 GB, free: 54.83 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/8.374, allocations: 0.8503 MB / 3.897 GB, free: 54.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/8.38, allocations: 3.849 MB / 3.9 GB, free: 53.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/8.381, allocations: 1.403 MB / 3.902 GB, free: 52.45 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001756/8.383, allocations: 343.9 kB / 3.902 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/8.383, allocations: 112.6 kB / 3.902 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of SimCode: time 1.442e-06/8.383, allocations: 0 / 3.902 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.079/8.462, allocations: 61.79 MB / 3.962 GB, free: 18.52 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)