Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8104/0.8104, allocations: 127.4 MB / 134.9 MB, free: 3.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.001078/0.001078, allocations: 180.9 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0009256/0.0009256, allocations: 89.33 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.968e-05, allocations: 2.562 kB / 0.5466 GB, free: 95.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.471/1.669, allocations: 416 MB / 1.028 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.67, allocations: 96.78 kB / 1.028 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.222/5.892, allocations: 1.117 GB / 2.145 GB, free: 88.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.833e-06/5.892, allocations: 0 / 2.145 GB, free: 88.43 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000418/5.892, allocations: 60.41 kB / 2.145 GB, free: 88.42 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.006755/5.899, allocations: 2.083 MB / 2.147 GB, free: 87.28 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/5.899, allocations: 9.812 kB / 2.147 GB, free: 87.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/5.902, allocations: 463.6 kB / 2.148 GB, free: 87.16 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/5.91, allocations: 2.393 MB / 2.15 GB, free: 86.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/5.91, allocations: 41.28 kB / 2.15 GB, free: 86.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005331/5.91, allocations: 77.06 kB / 2.15 GB, free: 86.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002311/5.913, allocations: 0.7939 MB / 2.151 GB, free: 85.88 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/5.915, allocations: 1.136 MB / 2.152 GB, free: 85.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/5.915, allocations: 1.781 kB / 2.152 GB, free: 85.27 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/5.916, allocations: 3.188 kB / 2.152 GB, free: 85.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/5.916, allocations: 33.78 kB / 2.152 GB, free: 85.27 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.01008/5.926, allocations: 7.051 MB / 2.159 GB, free: 79.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/5.927, allocations: 1.116 MB / 2.16 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/5.927, allocations: 293.5 kB / 2.16 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004592/5.932, allocations: 2.682 MB / 2.163 GB, free: 76.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/5.933, allocations: 350.9 kB / 2.163 GB, free: 76.53 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008263/5.934, allocations: 77.31 kB / 2.163 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.847e-06/5.934, allocations: 6.906 kB / 2.163 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.005632/5.939, allocations: 1.378 MB / 2.165 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/5.939, allocations: 194.3 kB / 2.165 GB, free: 75.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/5.942, allocations: 1.253 MB / 2.166 GB, free: 75.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/5.942, allocations: 28.77 kB / 2.166 GB, free: 75.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009256/5.943, allocations: 0.9246 MB / 2.167 GB, free: 74.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/5.943, allocations: 192 kB / 2.167 GB, free: 74.42 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/5.943, allocations: 3.688 kB / 2.167 GB, free: 74.42 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/5.943, allocations: 344.5 kB / 2.167 GB, free: 74.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/5.944, allocations: 266.7 kB / 2.168 GB, free: 74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/5.945, allocations: 0.7229 MB / 2.168 GB, free: 73.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00466/5.949, allocations: 1.001 MB / 2.169 GB, free: 73.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/5.949, allocations: 6.25 kB / 2.169 GB, free: 73.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006116/5.955, allocations: 1.654 MB / 2.171 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001494/5.957, allocations: 5.001 MB / 2.176 GB, free: 67.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/5.957, allocations: 10.19 kB / 2.176 GB, free: 67.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.932e-05/5.957, allocations: 23.28 kB / 2.176 GB, free: 67.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/5.958, allocations: 254.2 kB / 2.176 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/5.958, allocations: 29.97 kB / 2.176 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/5.96, allocations: 104.4 kB / 2.176 GB, free: 67.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/5.96, allocations: 57.53 kB / 2.176 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/5.96, allocations: 4.656 kB / 2.176 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005182/5.965, allocations: 1.429 MB / 2.178 GB, free: 66.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/5.965, allocations: 11.44 kB / 2.178 GB, free: 66.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/5.965, allocations: 29.64 kB / 2.178 GB, free: 66.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008944/5.966, allocations: 244.5 kB / 2.178 GB, free: 66.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/5.966, allocations: 23.61 kB / 2.178 GB, free: 66.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/5.968, allocations: 86.69 kB / 2.178 GB, free: 66.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/5.968, allocations: 55.83 kB / 2.178 GB, free: 66.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003255/5.968, allocations: 139.1 kB / 2.178 GB, free: 66.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/5.969, allocations: 168.9 kB / 2.178 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/5.975, allocations: 1.552 MB / 2.18 GB, free: 66.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/5.975, allocations: 15.69 kB / 2.18 GB, free: 66.17 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/5.975, allocations: 0 / 2.18 GB, free: 66.17 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004294/5.979, allocations: 1.394 MB / 2.181 GB, free: 65.56 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 postOpt removeSimpleEquations (simulation): time 0.008675/5.988, allocations: 2.557 MB / 2.184 GB, free: 64.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/5.988, allocations: 0 / 2.184 GB, free: 64.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/5.988, allocations: 130.7 kB / 2.184 GB, free: 64.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/5.989, allocations: 20.69 kB / 2.184 GB, free: 64.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/5.989, allocations: 15.42 kB / 2.184 GB, free: 64.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/5.99, allocations: 1.26 MB / 2.185 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.99, allocations: 0 / 2.185 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/5.995, allocations: 1.877 MB / 2.187 GB, free: 61.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/5.997, allocations: 315 kB / 2.187 GB, free: 60.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/5.997, allocations: 8 kB / 2.187 GB, free: 60.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/5.999, allocations: 79.77 kB / 2.187 GB, free: 60.71 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/5.999, allocations: 48.48 kB / 2.187 GB, free: 60.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/5.999, allocations: 31.92 kB / 2.188 GB, free: 60.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002495/6.002, allocations: 0.9318 MB / 2.188 GB, free: 59.71 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/6.002, allocations: 4 kB / 2.188 GB, free: 59.71 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005316/6.007, allocations: 0.9892 MB / 2.189 GB, free: 58.72 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003037/6.01, allocations: 1.237 MB / 2.191 GB, free: 57.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002263/6.012, allocations: 1.367 MB / 2.192 GB, free: 56.33 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/6.012, allocations: 0 / 2.192 GB, free: 56.33 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/6.013, allocations: 419.9 kB / 2.192 GB, free: 55.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/6.016, allocations: 0.6503 MB / 2.193 GB, free: 55.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/6.022, allocations: 2.27 MB / 2.195 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/6.023, allocations: 1.414 MB / 2.197 GB, free: 51.54 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003165/6.027, allocations: 0.5939 MB / 2.197 GB, free: 51 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/6.027, allocations: 107.4 kB / 2.197 GB, free: 50.89 MB / 0.6667 GB Notification: Performance of SimCode: time 1.713e-06/6.027, allocations: 0 / 2.197 GB, free: 50.89 MB / 0.6667 GB Notification: Performance of Templates: time 0.05325/6.08, allocations: 33.22 MB / 2.23 GB, free: 18.35 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)