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.7503/0.7503, allocations: 128.8 MB / 143.7 MB, free: 2.207 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.001167/0.001167, allocations: 172.5 kB / 173.7 MB, free: 6 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.744/1.744, 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.0009319/0.0009317, allocations: 85.39 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003111, allocations: 9.094 kB / 0.5603 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1555, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.218, allocations: 416.7 MB / 1.042 GB, free: 209.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.218, allocations: 107.3 kB / 1.042 GB, free: 209 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.592/4.81, allocations: 1.127 GB / 2.169 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.773e-06/4.811, allocations: 0 / 2.169 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002453/4.811, allocations: 60.02 kB / 2.169 GB, free: 76.43 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.006483/4.817, allocations: 2.597 MB / 2.171 GB, free: 74.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/4.817, allocations: 8.031 kB / 2.171 GB, free: 74.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/4.82, allocations: 462.1 kB / 2.172 GB, free: 73.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006285/4.826, allocations: 2.413 MB / 2.174 GB, free: 71.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/4.826, allocations: 90.3 kB / 2.174 GB, free: 71.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/4.826, allocations: 131.5 kB / 2.174 GB, free: 71.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/4.829, allocations: 1.39 MB / 2.176 GB, free: 69.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/4.829, allocations: 7.938 kB / 2.176 GB, free: 69.72 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/4.829, allocations: 48 kB / 2.176 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/4.829, allocations: 32 kB / 2.176 GB, free: 69.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/4.831, allocations: 1.006 MB / 2.177 GB, free: 68.64 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.007856/4.839, allocations: 7.249 MB / 2.184 GB, free: 60.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/4.841, allocations: 1.281 MB / 2.185 GB, free: 59.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004083/4.845, allocations: 2.682 MB / 2.188 GB, free: 56.56 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/4.846, allocations: 449.6 kB / 2.188 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000656/4.847, allocations: 91.33 kB / 2.188 GB, free: 56.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 2.985e-06/4.847, allocations: 0 / 2.188 GB, free: 56.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.00282/4.85, allocations: 1.226 MB / 2.19 GB, free: 54.74 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/4.85, allocations: 188.5 kB / 2.19 GB, free: 54.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/4.852, allocations: 1.386 MB / 2.191 GB, free: 53.13 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/4.852, allocations: 45.7 kB / 2.191 GB, free: 53.08 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/4.852, allocations: 0.915 MB / 2.192 GB, free: 52.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/4.853, allocations: 212.8 kB / 2.192 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/4.853, allocations: 27.94 kB / 2.192 GB, free: 51.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/4.853, allocations: 345.9 kB / 2.193 GB, free: 51.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/4.853, allocations: 334.1 kB / 2.193 GB, free: 51.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/4.854, allocations: 0.8005 MB / 2.194 GB, free: 50.23 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/4.855, allocations: 472.5 kB / 2.194 GB, free: 49.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/4.855, allocations: 4 kB / 2.194 GB, free: 49.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002282/4.857, allocations: 1.258 MB / 2.195 GB, free: 48.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009627/4.858, allocations: 5.007 MB / 2.2 GB, free: 43.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/4.858, allocations: 12 kB / 2.2 GB, free: 43.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/4.859, allocations: 20 kB / 2.2 GB, free: 43.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/4.86, allocations: 263.5 kB / 2.201 GB, free: 42.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/4.86, allocations: 23.92 kB / 2.201 GB, free: 42.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/4.861, allocations: 123.8 kB / 2.201 GB, free: 42.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/4.861, allocations: 55.98 kB / 2.201 GB, free: 42.58 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/4.861, allocations: 5.562 kB / 2.201 GB, free: 42.57 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/4.863, allocations: 1.04 MB / 2.202 GB, free: 41.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/4.863, allocations: 12 kB / 2.202 GB, free: 41.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/4.863, allocations: 24.64 kB / 2.202 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/4.864, allocations: 247.6 kB / 2.202 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/4.864, allocations: 27.92 kB / 2.202 GB, free: 41.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/4.865, allocations: 107.7 kB / 2.202 GB, free: 41.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/4.866, allocations: 59.98 kB / 2.202 GB, free: 41.06 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * 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.001238/4.867, allocations: 495.4 kB / 2.203 GB, free: 40.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/4.867, allocations: 169.8 kB / 2.203 GB, free: 40.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/4.869, allocations: 1.106 MB / 2.204 GB, free: 39.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/4.869, allocations: 11.98 kB / 2.204 GB, free: 39.26 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/4.869, allocations: 0 / 2.204 GB, free: 39.26 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/4.871, allocations: 0.9554 MB / 2.205 GB, free: 38.23 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 postOpt removeSimpleEquations (simulation): time 0.003582/4.874, allocations: 2.26 MB / 2.207 GB, free: 35.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/4.874, allocations: 0 / 2.207 GB, free: 35.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/4.875, allocations: 135.8 kB / 2.207 GB, free: 35.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/4.875, allocations: 28.78 kB / 2.207 GB, free: 35.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/4.875, allocations: 23.98 kB / 2.207 GB, free: 35.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/4.876, allocations: 1.307 MB / 2.209 GB, free: 34.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/4.876, allocations: 0 / 2.209 GB, free: 34.29 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/4.878, allocations: 1.476 MB / 2.21 GB, free: 32.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/4.879, allocations: 342.5 kB / 2.21 GB, free: 32.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/4.879, allocations: 19.95 kB / 2.21 GB, free: 32.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/4.88, allocations: 99.89 kB / 2.21 GB, free: 32.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/4.881, allocations: 48.48 kB / 2.21 GB, free: 32.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/4.881, allocations: 23.98 kB / 2.211 GB, free: 32.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001463/4.882, allocations: 1.122 MB / 2.212 GB, free: 31.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/4.882, allocations: 4 kB / 2.212 GB, free: 31.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003386/4.885, allocations: 1.021 MB / 2.213 GB, free: 30.05 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 58 * 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.002462/4.888, allocations: 1.36 MB / 2.214 GB, free: 28.99 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002885/4.891, allocations: 1.554 MB / 2.215 GB, free: 27.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/4.891, allocations: 0 / 2.215 GB, free: 27.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/4.892, allocations: 494.5 kB / 2.216 GB, free: 26.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/4.895, allocations: 0.7481 MB / 2.217 GB, free: 26.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/4.9, allocations: 3.684 MB / 2.22 GB, free: 22.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/4.9, allocations: 1.415 MB / 2.222 GB, free: 21.03 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001815/4.902, allocations: 430.8 kB / 2.222 GB, free: 20.64 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/4.903, allocations: 143.4 kB / 2.222 GB, free: 20.5 MB / 0.6667 GB Notification: Performance of SimCode: time 9.62e-07/4.903, allocations: 0 / 2.222 GB, free: 20.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.0597/4.962, allocations: 36.67 MB / 2.258 GB, free: 352 kB / 0.6823 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)