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.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.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") [/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.6623/0.6623, allocations: 117.9 MB / 133.9 MB, free: 4.492 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.000936/0.000936, allocations: 186.2 kB / 161.7 MB, free: 2.715 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.46/1.46, allocations: 205.4 MB / 394.8 MB, free: 20.89 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.0009113/0.0009113, allocations: 99.64 kB / 470.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 12 kB / 0.5423 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 74.54 MB / 0.6151 GB, free: 54.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.188/4.539, allocations: 2.162 GB / 2.777 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/4.539, allocations: 96.56 kB / 2.777 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.34/7.879, allocations: 1.02 GB / 3.797 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/7.879, allocations: 8.375 kB / 3.797 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.00024/7.879, allocations: 52.44 kB / 3.798 GB, free: 82.52 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.005539/7.885, allocations: 2.37 MB / 3.8 GB, free: 81.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/7.885, allocations: 10.16 kB / 3.8 GB, free: 81.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/7.888, allocations: 0.6123 MB / 3.8 GB, free: 81.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/7.893, allocations: 1.65 MB / 3.802 GB, free: 80.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/7.893, allocations: 92.25 kB / 3.802 GB, free: 80.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/7.893, allocations: 126.3 kB / 3.802 GB, free: 80.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/7.896, allocations: 1.458 MB / 3.804 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/7.896, allocations: 5.469 kB / 3.804 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/7.897, allocations: 49.03 kB / 3.804 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/7.897, allocations: 49.53 kB / 3.804 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/7.899, allocations: 1.152 MB / 3.805 GB, free: 80.66 MB / 0.6511 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.00728/7.906, allocations: 5.689 MB / 3.81 GB, free: 78.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/7.908, allocations: 1.086 MB / 3.812 GB, free: 78.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/7.909, allocations: 0.4953 MB / 3.812 GB, free: 78.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/7.909, allocations: 295.3 kB / 3.812 GB, free: 77.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/7.911, allocations: 0.5979 MB / 3.813 GB, free: 77.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=86): time 4.248e-06/7.911, allocations: 0 / 3.813 GB, free: 77.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=94): time 0.01016/7.921, allocations: 3.886 MB / 3.817 GB, free: 76.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/7.921, allocations: 195.2 kB / 3.817 GB, free: 76.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/7.923, allocations: 1.309 MB / 3.818 GB, free: 76.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/7.923, allocations: 41.89 kB / 3.818 GB, free: 76.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/7.923, allocations: 0.7463 MB / 3.819 GB, free: 76.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/7.923, allocations: 320.6 kB / 3.819 GB, free: 75.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/7.924, allocations: 19.75 kB / 3.819 GB, free: 75.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/7.924, allocations: 347.4 kB / 3.82 GB, free: 75.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/7.924, allocations: 413.8 kB / 3.82 GB, free: 75.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008704/7.925, allocations: 0.6545 MB / 3.821 GB, free: 75.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007806/7.933, allocations: 2.671 MB / 3.823 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/7.933, allocations: 0 / 3.823 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004044/7.937, allocations: 1.7 MB / 3.825 GB, free: 74.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/7.937, allocations: 235.7 kB / 3.825 GB, free: 74.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/7.937, allocations: 3.5 kB / 3.825 GB, free: 74.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/7.938, allocations: 394.9 kB / 3.825 GB, free: 74.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/7.939, allocations: 149.4 kB / 3.826 GB, free: 74.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008652/7.948, allocations: 8.129 MB / 3.834 GB, free: 69.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/7.949, allocations: 124.5 kB / 3.834 GB, free: 69.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/7.949, allocations: 40.45 kB / 3.834 GB, free: 69.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/7.949, allocations: 2.375 kB / 3.834 GB, free: 69.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00272/7.952, allocations: 1.451 MB / 3.835 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/7.952, allocations: 4.469 kB / 3.835 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008081/7.953, allocations: 380.5 kB / 3.835 GB, free: 68.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/7.953, allocations: 137 kB / 3.836 GB, free: 68.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/7.959, allocations: 7.7 MB / 3.843 GB, free: 63.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/7.961, allocations: 116.4 kB / 3.843 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/7.961, allocations: 37.62 kB / 3.843 GB, free: 63.54 MB / 0.6511 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: 15 * 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 (87): * Single equations (assignments): 82 * 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.001031/7.962, allocations: 0.5069 MB / 3.844 GB, free: 63.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/7.962, allocations: 163.8 kB / 3.844 GB, free: 63.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/7.966, allocations: 1.491 MB / 3.845 GB, free: 63.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/7.966, allocations: 11.28 kB / 3.845 GB, free: 63.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/7.966, allocations: 3.938 kB / 3.845 GB, free: 63.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003087/7.969, allocations: 1.348 MB / 3.847 GB, free: 62.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/7.976, allocations: 3.232 MB / 3.85 GB, free: 62.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/7.976, allocations: 3.938 kB / 3.85 GB, free: 62.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/7.977, allocations: 173.4 kB / 3.85 GB, free: 62.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/7.977, allocations: 166.5 kB / 3.85 GB, free: 62.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/7.977, allocations: 37.09 kB / 3.85 GB, free: 62.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/7.982, allocations: 3.526 MB / 3.854 GB, free: 59.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/7.982, allocations: 9.5 kB / 3.854 GB, free: 59.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/7.987, allocations: 2.19 MB / 3.856 GB, free: 59.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/7.989, allocations: 345.3 kB / 3.856 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008352/7.99, allocations: 31.33 kB / 3.856 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/7.992, allocations: 104.3 kB / 3.856 GB, free: 59.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/7.993, allocations: 79.7 kB / 3.856 GB, free: 59.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/7.993, allocations: 42.78 kB / 3.856 GB, free: 59.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003368/7.996, allocations: 0.8906 MB / 3.857 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/7.996, allocations: 0 / 3.857 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008188/8.005, allocations: 0.9607 MB / 3.858 GB, free: 58.88 MB / 0.6511 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.00536/8.01, allocations: 2.385 MB / 3.861 GB, free: 58.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00641/8.017, allocations: 2.832 MB / 3.863 GB, free: 57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/8.017, allocations: 2.156 kB / 3.863 GB, free: 57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/8.018, allocations: 0.8494 MB / 3.864 GB, free: 56.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007601/8.026, allocations: 0.8422 MB / 3.865 GB, free: 56.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/8.036, allocations: 3.846 MB / 3.869 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/8.038, allocations: 1.372 MB / 3.87 GB, free: 54.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002997/8.041, allocations: 351 kB / 3.87 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/8.041, allocations: 113 kB / 3.871 GB, free: 54.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/8.041, allocations: 0 / 3.871 GB, free: 54.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.1084/8.15, allocations: 61.92 MB / 3.931 GB, free: 19.15 MB / 0.6511 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)