Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_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.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.807/0.807, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.001103/0.001103, allocations: 188.5 kB / 164.7 MB, free: 11.59 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.91/1.91, allocations: 205.2 MB / 399.5 MB, free: 13.51 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.0009962/0.0009962, allocations: 90.45 kB / 476.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.731e-05, allocations: 2.594 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1847, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.625, allocations: 408.9 MB / 1.021 GB, free: 240.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.626, allocations: 99.67 kB / 1.021 GB, free: 240.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.922/5.548, allocations: 1.086 GB / 2.107 GB, free: 90.66 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.543e-06/5.548, allocations: 0 / 2.107 GB, free: 90.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003901/5.548, allocations: 59.52 kB / 2.107 GB, free: 90.65 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.006651/5.555, allocations: 2.192 MB / 2.109 GB, free: 89.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/5.555, allocations: 7.156 kB / 2.109 GB, free: 89.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/5.557, allocations: 380.8 kB / 2.11 GB, free: 89.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/5.568, allocations: 4.856 MB / 2.114 GB, free: 89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/5.568, allocations: 44.34 kB / 2.115 GB, free: 89 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/5.569, allocations: 78 kB / 2.115 GB, free: 89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001679/5.57, allocations: 0.8759 MB / 2.115 GB, free: 89 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/5.572, allocations: 1.221 MB / 2.117 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/5.572, allocations: 8.719 kB / 2.117 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/5.572, allocations: 3.469 kB / 2.117 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/5.572, allocations: 37.94 kB / 2.117 GB, free: 88.68 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.008513/5.581, allocations: 7.305 MB / 2.124 GB, free: 84.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/5.582, allocations: 1.168 MB / 2.125 GB, free: 83.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/5.583, allocations: 316.4 kB / 2.125 GB, free: 83.75 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/5.586, allocations: 1.967 MB / 2.127 GB, free: 82.57 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/5.586, allocations: 389.2 kB / 2.128 GB, free: 82.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005602/5.587, allocations: 74.47 kB / 2.128 GB, free: 82.47 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 3.136e-06/5.587, allocations: 2.375 kB / 2.128 GB, free: 82.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.002055/5.589, allocations: 0.8854 MB / 2.128 GB, free: 82.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/5.589, allocations: 193 kB / 2.129 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/5.591, allocations: 1.21 MB / 2.13 GB, free: 81.85 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/5.591, allocations: 29.45 kB / 2.13 GB, free: 81.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/5.591, allocations: 0.9176 MB / 2.131 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/5.591, allocations: 224.2 kB / 2.131 GB, free: 81.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/5.592, allocations: 2.094 kB / 2.131 GB, free: 81.33 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/5.592, allocations: 349.1 kB / 2.131 GB, free: 81.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/5.592, allocations: 287.7 kB / 2.132 GB, free: 81.02 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/5.593, allocations: 0.695 MB / 2.132 GB, free: 80.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/5.594, allocations: 482.8 kB / 2.133 GB, free: 80.52 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/5.594, allocations: 3.812 kB / 2.133 GB, free: 80.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002191/5.596, allocations: 1.13 MB / 2.134 GB, free: 80.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009979/5.597, allocations: 4.272 MB / 2.138 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/5.597, allocations: 11.19 kB / 2.138 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/5.597, allocations: 18.19 kB / 2.138 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/5.598, allocations: 263.1 kB / 2.138 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/5.598, allocations: 25.64 kB / 2.138 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/5.6, allocations: 116.6 kB / 2.138 GB, free: 75.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/5.6, allocations: 52.19 kB / 2.138 GB, free: 75.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/5.6, allocations: 4.375 kB / 2.138 GB, free: 75.89 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001843/5.602, allocations: 0.8972 MB / 2.139 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/5.602, allocations: 16.97 kB / 2.139 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/5.602, allocations: 14.72 kB / 2.139 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/5.603, allocations: 249.6 kB / 2.14 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/5.603, allocations: 23.98 kB / 2.14 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/5.604, allocations: 105.1 kB / 2.14 GB, free: 75.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/5.604, allocations: 57.38 kB / 2.14 GB, free: 75.86 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0002889/5.604, allocations: 133.1 kB / 2.14 GB, free: 75.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/5.605, allocations: 171.6 kB / 2.14 GB, free: 75.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/5.607, allocations: 1.021 MB / 2.141 GB, free: 75.46 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/5.607, allocations: 14.25 kB / 2.141 GB, free: 75.46 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/5.607, allocations: 3.844 kB / 2.141 GB, free: 75.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/5.608, allocations: 0.7434 MB / 2.142 GB, free: 75.28 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.004143/5.612, allocations: 2.101 MB / 2.144 GB, free: 74.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/5.612, allocations: 0 / 2.144 GB, free: 74.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/5.613, allocations: 157.3 kB / 2.144 GB, free: 74.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000146/5.613, allocations: 22.02 kB / 2.144 GB, free: 74.87 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/5.613, allocations: 13.66 kB / 2.144 GB, free: 74.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008308/5.614, allocations: 1.264 MB / 2.145 GB, free: 73.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.614, allocations: 3.719 kB / 2.145 GB, free: 73.67 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/5.616, allocations: 1.383 MB / 2.147 GB, free: 73.31 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/5.617, allocations: 330.3 kB / 2.147 GB, free: 73.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/5.617, allocations: 9.766 kB / 2.147 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/5.618, allocations: 99.91 kB / 2.147 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/5.618, allocations: 54.88 kB / 2.147 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/5.618, allocations: 28.59 kB / 2.147 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001276/5.62, allocations: 0.906 MB / 2.148 GB, free: 73.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.71e-07/5.62, allocations: 0 / 2.148 GB, free: 73.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003533/5.623, allocations: 1.069 MB / 2.149 GB, free: 72.81 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.vol.dynBal.U) * 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 (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001973/5.625, allocations: 1.128 MB / 2.15 GB, free: 72.53 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002069/5.627, allocations: 1.43 MB / 2.152 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/5.627, allocations: 0 / 2.152 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/5.628, allocations: 454 kB / 2.152 GB, free: 72.21 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/5.632, allocations: 0.7469 MB / 2.153 GB, free: 72.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/5.636, allocations: 2.32 MB / 2.155 GB, free: 71.51 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/5.636, allocations: 1.451 MB / 2.156 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002413/5.639, allocations: 0.5495 MB / 2.157 GB, free: 70.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/5.639, allocations: 114.5 kB / 2.157 GB, free: 70.74 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/5.639, allocations: 0 / 2.157 GB, free: 70.74 MB / 0.6667 GB Notification: Performance of Templates: time 0.05954/5.699, allocations: 35.91 MB / 2.192 GB, free: 64.38 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)