Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008823/0.008823, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7801/0.7801, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.000907, allocations: 89.02 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4223, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.723, allocations: 415.2 MB / 1.055 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.724, allocations: 104.2 kB / 1.055 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.956/5.679, allocations: 1.187 GB / 2.242 GB, free: 91.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.876e-06/5.679, allocations: 0 / 2.242 GB, free: 91.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004625/5.68, allocations: 58.67 kB / 2.242 GB, free: 91.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.008676/5.689, allocations: 2.523 MB / 2.245 GB, free: 90.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/5.689, allocations: 6.719 kB / 2.245 GB, free: 90.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004586/5.689, allocations: 180.6 kB / 2.245 GB, free: 89.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/5.691, allocations: 453.6 kB / 2.245 GB, free: 89.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/5.697, allocations: 2.29 MB / 2.247 GB, free: 88.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/5.697, allocations: 88.2 kB / 2.247 GB, free: 88.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/5.697, allocations: 122.9 kB / 2.248 GB, free: 88.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/5.699, allocations: 1.283 MB / 2.249 GB, free: 88.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/5.699, allocations: 8.969 kB / 2.249 GB, free: 88.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/5.699, allocations: 56.22 kB / 2.249 GB, free: 88.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/5.699, allocations: 42.42 kB / 2.249 GB, free: 88.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/5.701, allocations: 0.9647 MB / 2.25 GB, free: 87.71 MB / 0.698 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.008318/5.71, allocations: 6.914 MB / 2.257 GB, free: 82.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/5.711, allocations: 1.276 MB / 2.258 GB, free: 81.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004752/5.716, allocations: 2.988 MB / 2.261 GB, free: 79.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008157/5.717, allocations: 410 kB / 2.261 GB, free: 79.08 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006377/5.717, allocations: 91.62 kB / 2.261 GB, free: 79.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.056e-06/5.717, allocations: 0 / 2.261 GB, free: 79.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002475/5.72, allocations: 1.14 MB / 2.262 GB, free: 78.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/5.72, allocations: 110.1 kB / 2.263 GB, free: 78.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/5.722, allocations: 1.337 MB / 2.264 GB, free: 77.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/5.722, allocations: 47.73 kB / 2.264 GB, free: 77.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/5.723, allocations: 0.8836 MB / 2.265 GB, free: 77.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/5.723, allocations: 225.1 kB / 2.265 GB, free: 77.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/5.723, allocations: 15.88 kB / 2.265 GB, free: 77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/5.723, allocations: 345.3 kB / 2.265 GB, free: 76.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/5.724, allocations: 320.9 kB / 2.266 GB, free: 76.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/5.725, allocations: 0.7308 MB / 2.266 GB, free: 75.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/5.726, allocations: 443.6 kB / 2.267 GB, free: 75.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/5.726, allocations: 3.938 kB / 2.267 GB, free: 75.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002293/5.728, allocations: 1.182 MB / 2.268 GB, free: 75.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001352/5.73, allocations: 4.448 MB / 2.272 GB, free: 70.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/5.73, allocations: 9 kB / 2.272 GB, free: 70.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.562e-05/5.73, allocations: 17.53 kB / 2.272 GB, free: 70.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009709/5.731, allocations: 251.8 kB / 2.272 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/5.731, allocations: 22.97 kB / 2.273 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/5.732, allocations: 118.9 kB / 2.273 GB, free: 70.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/5.732, allocations: 59.62 kB / 2.273 GB, free: 70.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/5.732, allocations: 7.406 kB / 2.273 GB, free: 70.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001818/5.734, allocations: 1.012 MB / 2.274 GB, free: 69.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/5.734, allocations: 11.78 kB / 2.274 GB, free: 69.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/5.734, allocations: 23.52 kB / 2.274 GB, free: 69.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/5.735, allocations: 242.4 kB / 2.274 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/5.735, allocations: 23.05 kB / 2.274 GB, free: 69.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/5.736, allocations: 111.1 kB / 2.274 GB, free: 69.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/5.736, allocations: 55.16 kB / 2.274 GB, free: 69.53 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0009744/5.737, allocations: 482.6 kB / 2.275 GB, free: 69.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/5.737, allocations: 167.9 kB / 2.275 GB, free: 69.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/5.739, allocations: 1.075 MB / 2.276 GB, free: 68.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/5.739, allocations: 7.625 kB / 2.276 GB, free: 68.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/5.739, allocations: 3.438 kB / 2.276 GB, free: 68.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/5.741, allocations: 0.899 MB / 2.277 GB, free: 67.93 MB / 0.698 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.003919/5.745, allocations: 2.319 MB / 2.279 GB, free: 66.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.745, allocations: 0 / 2.279 GB, free: 66.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/5.745, allocations: 142.6 kB / 2.279 GB, free: 66.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/5.746, allocations: 33.55 kB / 2.279 GB, free: 66.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/5.746, allocations: 23.61 kB / 2.279 GB, free: 66.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008205/5.747, allocations: 1.313 MB / 2.28 GB, free: 65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/5.747, allocations: 3.344 kB / 2.28 GB, free: 65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/5.749, allocations: 1.49 MB / 2.282 GB, free: 64.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/5.75, allocations: 347.3 kB / 2.282 GB, free: 63.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/5.75, allocations: 19.75 kB / 2.282 GB, free: 63.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/5.751, allocations: 96.97 kB / 2.282 GB, free: 63.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/5.751, allocations: 60.53 kB / 2.282 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/5.751, allocations: 27.67 kB / 2.282 GB, free: 63.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00149/5.753, allocations: 1.089 MB / 2.283 GB, free: 63.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/5.753, allocations: 0 / 2.283 GB, free: 63.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003162/5.756, allocations: 0.9788 MB / 2.284 GB, free: 62.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00487/5.761, allocations: 3.374 MB / 2.288 GB, free: 59.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002586/5.763, allocations: 1.464 MB / 2.289 GB, free: 58.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/5.763, allocations: 5.375 kB / 2.289 GB, free: 58.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008608/5.764, allocations: 0.506 MB / 2.29 GB, free: 57.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/5.767, allocations: 0.7129 MB / 2.29 GB, free: 56.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/5.775, allocations: 12.4 MB / 2.302 GB, free: 44.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/5.777, allocations: 1.396 MB / 2.304 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00193/5.779, allocations: 429.2 kB / 2.304 GB, free: 58.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/5.779, allocations: 0.7141 MB / 2.305 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/5.779, allocations: 4 kB / 2.305 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08469/5.864, allocations: 51.83 MB / 2.356 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/5.864, allocations: 232.1 kB / 2.356 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/9.649, allocations: 0 / 2.356 GB, free: 6.621 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)