Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_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.7307/0.7307, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 187.7 kB / 169.7 MB, free: 1.73 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.983/1.983, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009664/0.0009665, allocations: 74.5 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.532e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1834, allocations: 76.76 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/1.67, allocations: 416.8 MB / 1.035 GB, free: 98.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.67, allocations: 96.31 kB / 1.035 GB, free: 98.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.386/6.056, allocations: 1.123 GB / 2.158 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.424e-06/6.057, allocations: 0 / 2.158 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004055/6.057, allocations: 54.52 kB / 2.158 GB, free: 3.176 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.006697/6.064, allocations: 2.102 MB / 2.16 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/6.064, allocations: 8.031 kB / 2.161 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/6.064, allocations: 169.3 kB / 2.161 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/6.066, allocations: 461 kB / 2.161 GB, free: 408 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5479/6.614, allocations: 2.383 MB / 2.163 GB, free: 68.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/6.614, allocations: 90.8 kB / 2.164 GB, free: 68.59 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/6.615, allocations: 130.5 kB / 2.164 GB, free: 68.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/6.618, allocations: 1.305 MB / 2.165 GB, free: 68.26 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/6.618, allocations: 4.672 kB / 2.165 GB, free: 68.26 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/6.618, allocations: 53.34 kB / 2.165 GB, free: 68.26 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/6.618, allocations: 30.38 kB / 2.165 GB, free: 68.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/6.62, allocations: 0.868 MB / 2.166 GB, free: 68.25 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.009564/6.63, allocations: 7.267 MB / 2.173 GB, free: 63.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/6.631, allocations: 1.131 MB / 2.174 GB, free: 63.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/6.632, allocations: 296 kB / 2.174 GB, free: 63.24 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004003/6.636, allocations: 2.718 MB / 2.177 GB, free: 61.53 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007006/6.636, allocations: 388.5 kB / 2.177 GB, free: 61.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006535/6.637, allocations: 91.7 kB / 2.177 GB, free: 61.44 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.096e-06/6.637, allocations: 2.094 kB / 2.177 GB, free: 61.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001655/6.639, allocations: 0.7657 MB / 2.178 GB, free: 61.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/6.639, allocations: 191.7 kB / 2.178 GB, free: 60.98 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/6.641, allocations: 1.37 MB / 2.18 GB, free: 60.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/6.641, allocations: 41.61 kB / 2.18 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/6.643, allocations: 0.9228 MB / 2.181 GB, free: 60.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/6.643, allocations: 204.1 kB / 2.181 GB, free: 60.42 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/6.643, allocations: 21.47 kB / 2.181 GB, free: 60.42 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001269/6.643, allocations: 342.3 kB / 2.181 GB, free: 60.12 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/6.644, allocations: 278 kB / 2.181 GB, free: 60.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/6.645, allocations: 0.7375 MB / 2.182 GB, free: 59.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/6.645, allocations: 414 kB / 2.183 GB, free: 59.52 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/6.646, allocations: 3.469 kB / 2.183 GB, free: 59.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00323/6.649, allocations: 1.136 MB / 2.184 GB, free: 59.35 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00171/6.65, allocations: 5.008 MB / 2.189 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/6.651, allocations: 15.86 kB / 2.189 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.874e-05/6.651, allocations: 19.72 kB / 2.189 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/6.652, allocations: 255.2 kB / 2.189 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-05/6.652, allocations: 29.39 kB / 2.189 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/6.654, allocations: 126.8 kB / 2.189 GB, free: 54.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/6.654, allocations: 59.19 kB / 2.189 GB, free: 54.11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/6.654, allocations: 3.594 kB / 2.189 GB, free: 54.11 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001732/6.655, allocations: 0.9467 MB / 2.19 GB, free: 54.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/6.655, allocations: 19.33 kB / 2.19 GB, free: 54.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/6.655, allocations: 24.58 kB / 2.19 GB, free: 54.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/6.656, allocations: 245.3 kB / 2.19 GB, free: 54.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/6.656, allocations: 26.31 kB / 2.19 GB, free: 54.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/6.658, allocations: 109.4 kB / 2.19 GB, free: 54.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/6.658, allocations: 53.97 kB / 2.19 GB, free: 54.05 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.0002889/6.658, allocations: 176.2 kB / 2.191 GB, free: 53.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/6.659, allocations: 174.7 kB / 2.191 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/6.661, allocations: 0.9782 MB / 2.192 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/6.661, allocations: 9.547 kB / 2.192 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/6.661, allocations: 1.031 kB / 2.192 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/6.662, allocations: 0.8371 MB / 2.193 GB, free: 53.31 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.005461/6.668, allocations: 2.15 MB / 2.195 GB, free: 52.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/6.668, allocations: 2.531 kB / 2.195 GB, free: 52.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/6.668, allocations: 130.5 kB / 2.195 GB, free: 52.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/6.669, allocations: 29.31 kB / 2.195 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/6.669, allocations: 24.69 kB / 2.195 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/6.67, allocations: 1.294 MB / 2.196 GB, free: 51.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.67, allocations: 5.453 kB / 2.196 GB, free: 51.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/6.673, allocations: 1.295 MB / 2.197 GB, free: 51.23 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/6.675, allocations: 337.9 kB / 2.198 GB, free: 51.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008727/6.676, allocations: 17.17 kB / 2.198 GB, free: 51.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/6.677, allocations: 105.9 kB / 2.198 GB, free: 51.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/6.678, allocations: 49.31 kB / 2.198 GB, free: 51.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/6.678, allocations: 28.91 kB / 2.198 GB, free: 51.04 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003036/6.681, allocations: 1.099 MB / 2.199 GB, free: 50.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.5e-07/6.681, allocations: 0 / 2.199 GB, free: 50.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005312/6.686, allocations: 1.006 MB / 2.2 GB, free: 50.84 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,coo.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.005998/6.692, allocations: 3.054 MB / 2.203 GB, free: 49.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003141/6.695, allocations: 1.446 MB / 2.204 GB, free: 49.63 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/6.695, allocations: 1.25 kB / 2.204 GB, free: 49.63 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/6.696, allocations: 437.2 kB / 2.205 GB, free: 49.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/6.7, allocations: 0.7504 MB / 2.205 GB, free: 49.51 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/6.708, allocations: 2.8 MB / 2.208 GB, free: 48.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002608/6.711, allocations: 1.41 MB / 2.21 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003241/6.714, allocations: 0.6138 MB / 2.21 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000971/6.715, allocations: 0.7028 MB / 2.211 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/6.715, allocations: 0 / 2.211 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/6.819, allocations: 58.68 MB / 2.268 GB, free: 61.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/6.819, allocations: 217.6 kB / 2.268 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.378/11.2, allocations: 0 / 2.268 GB, free: 61.17 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)