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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7745/0.7745, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001134/0.001134, allocations: 176.4 kB / 173.7 MB, free: 6.133 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.532/1.532, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009917/0.0009912, allocations: 84.12 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.000448, allocations: 12.62 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.183, allocations: 416.7 MB / 1.042 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.184, allocations: 103.1 kB / 1.042 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/4.665, allocations: 1.126 GB / 2.169 GB, free: 64.77 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.805e-06/4.665, allocations: 0 / 2.169 GB, free: 64.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003677/4.666, allocations: 54.41 kB / 2.169 GB, free: 64.72 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.007969/4.674, allocations: 2.603 MB / 2.172 GB, free: 62.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/4.674, allocations: 8.031 kB / 2.172 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000589/4.674, allocations: 177.3 kB / 2.172 GB, free: 61.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/4.677, allocations: 458.6 kB / 2.172 GB, free: 61.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007331/4.684, allocations: 2.416 MB / 2.174 GB, free: 59.07 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/4.685, allocations: 90.3 kB / 2.175 GB, free: 58.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/4.685, allocations: 127 kB / 2.175 GB, free: 58.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/4.688, allocations: 1.386 MB / 2.176 GB, free: 57.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/4.688, allocations: 7.938 kB / 2.176 GB, free: 57.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/4.689, allocations: 48 kB / 2.176 GB, free: 57.31 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.226e-05/4.689, allocations: 32 kB / 2.176 GB, free: 57.28 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/4.691, allocations: 1.004 MB / 2.177 GB, free: 56.27 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.009005/4.7, allocations: 7.249 MB / 2.184 GB, free: 48.53 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/4.702, allocations: 1.273 MB / 2.185 GB, free: 47.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003792/4.706, allocations: 2.688 MB / 2.188 GB, free: 44.17 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009885/4.707, allocations: 449.7 kB / 2.188 GB, free: 43.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000589/4.708, allocations: 98.31 kB / 2.189 GB, free: 43.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/4.708, allocations: 0 / 2.189 GB, free: 43.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.002735/4.711, allocations: 1.23 MB / 2.19 GB, free: 42.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/4.711, allocations: 186.5 kB / 2.19 GB, free: 42.12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/4.712, allocations: 1.386 MB / 2.191 GB, free: 40.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/4.712, allocations: 45.7 kB / 2.191 GB, free: 40.69 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/4.713, allocations: 0.9214 MB / 2.192 GB, free: 39.77 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/4.713, allocations: 200.4 kB / 2.192 GB, free: 39.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/4.713, allocations: 24 kB / 2.192 GB, free: 39.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/4.713, allocations: 349.9 kB / 2.193 GB, free: 39.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/4.714, allocations: 330.1 kB / 2.193 GB, free: 38.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/4.715, allocations: 0.8044 MB / 2.194 GB, free: 37.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/4.716, allocations: 472.9 kB / 2.194 GB, free: 37.39 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/4.716, allocations: 4 kB / 2.194 GB, free: 37.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00213/4.718, allocations: 1.262 MB / 2.196 GB, free: 36.11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009504/4.719, allocations: 5.006 MB / 2.2 GB, free: 30.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/4.719, allocations: 15.98 kB / 2.2 GB, free: 30.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/4.719, allocations: 20 kB / 2.201 GB, free: 30.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/4.72, allocations: 267.5 kB / 2.201 GB, free: 30.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/4.72, allocations: 19.94 kB / 2.201 GB, free: 30.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/4.721, allocations: 119.8 kB / 2.201 GB, free: 30.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/4.721, allocations: 59.98 kB / 2.201 GB, free: 30.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/4.721, allocations: 4 kB / 2.201 GB, free: 30.19 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001754/4.723, allocations: 1.04 MB / 2.202 GB, free: 29.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/4.723, allocations: 15.95 kB / 2.202 GB, free: 29.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/4.723, allocations: 23.94 kB / 2.202 GB, free: 29.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/4.724, allocations: 248.3 kB / 2.202 GB, free: 28.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/4.724, allocations: 27.92 kB / 2.202 GB, free: 28.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/4.725, allocations: 103.8 kB / 2.202 GB, free: 28.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/4.726, allocations: 59.92 kB / 2.202 GB, free: 28.67 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.001035/4.727, allocations: 498.7 kB / 2.203 GB, free: 28.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/4.727, allocations: 165.9 kB / 2.203 GB, free: 28.01 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/4.729, allocations: 1.111 MB / 2.204 GB, free: 26.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/4.729, allocations: 11.98 kB / 2.204 GB, free: 26.87 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/4.729, allocations: 0 / 2.204 GB, free: 26.87 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/4.73, allocations: 0.9554 MB / 2.205 GB, free: 25.84 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.003961/4.734, allocations: 2.251 MB / 2.207 GB, free: 23.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/4.734, allocations: 0 / 2.207 GB, free: 23.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/4.735, allocations: 131.8 kB / 2.207 GB, free: 23.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/4.735, allocations: 24.84 kB / 2.207 GB, free: 23.37 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/4.735, allocations: 27.97 kB / 2.207 GB, free: 23.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008384/4.736, allocations: 1.296 MB / 2.209 GB, free: 21.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/4.736, allocations: 4.062 kB / 2.209 GB, free: 21.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/4.739, allocations: 1.468 MB / 2.21 GB, free: 20.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008035/4.74, allocations: 350.5 kB / 2.211 GB, free: 20.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/4.74, allocations: 23.94 kB / 2.211 GB, free: 20.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/4.741, allocations: 95.91 kB / 2.211 GB, free: 19.92 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/4.741, allocations: 52.38 kB / 2.211 GB, free: 19.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/4.741, allocations: 23.98 kB / 2.211 GB, free: 19.85 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001597/4.743, allocations: 1.122 MB / 2.212 GB, free: 18.71 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/4.743, allocations: 4 kB / 2.212 GB, free: 18.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003469/4.746, allocations: 1.018 MB / 2.213 GB, free: 17.68 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.005173/4.751, allocations: 3.28 MB / 2.216 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002825/4.754, allocations: 1.554 MB / 2.218 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/4.754, allocations: 0.625 kB / 2.218 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008921/4.755, allocations: 499.8 kB / 2.218 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/4.759, allocations: 0.7514 MB / 2.219 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009592/4.768, allocations: 13.36 MB / 2.232 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/4.77, allocations: 1.407 MB / 2.233 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002446/4.772, allocations: 439.1 kB / 2.234 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/4.773, allocations: 0.7336 MB / 2.234 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.623e-06/4.773, allocations: 0 / 2.234 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4837/5.257, allocations: 54.23 MB / 2.287 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/5.257, allocations: 253 kB / 2.287 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.002/9.259, allocations: 0 / 2.287 GB, free: 84.5 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)