Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8744/0.8744, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 187.7 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.001258/0.001258, allocations: 96.05 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 282.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.829e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5754, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.58, allocations: 412 MB / 1.16 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.58, allocations: 95.39 kB / 1.16 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.229/6.809, allocations: 1.177 GB / 2.337 GB, free: 95.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.344e-06/6.809, allocations: 0 / 2.337 GB, free: 95.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000436/6.81, allocations: 46.78 kB / 2.337 GB, free: 95.87 MB / 0.7136 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.006307/6.816, allocations: 2.024 MB / 2.339 GB, free: 94.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/6.816, allocations: 9.953 kB / 2.339 GB, free: 94.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/6.819, allocations: 460.5 kB / 2.34 GB, free: 94.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007476/6.826, allocations: 2.25 MB / 2.342 GB, free: 94.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/6.826, allocations: 35.73 kB / 2.342 GB, free: 94.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004821/6.827, allocations: 87.06 kB / 2.342 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002168/6.829, allocations: 0.7739 MB / 2.343 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/6.832, allocations: 1.059 MB / 2.344 GB, free: 94.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/6.832, allocations: 3.188 kB / 2.344 GB, free: 94.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/6.832, allocations: 3.938 kB / 2.344 GB, free: 94.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/6.832, allocations: 40.59 kB / 2.344 GB, free: 94.18 MB / 0.7136 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.01025/6.842, allocations: 6.736 MB / 2.35 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/6.843, allocations: 1.134 MB / 2.351 GB, free: 89.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/6.844, allocations: 319 kB / 2.352 GB, free: 89.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005637/6.85, allocations: 2.989 MB / 2.355 GB, free: 87.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/6.85, allocations: 342.6 kB / 2.355 GB, free: 87.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000891/6.851, allocations: 70.08 kB / 2.355 GB, free: 87.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 4.559e-06/6.851, allocations: 0 / 2.355 GB, free: 87.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.007048/6.858, allocations: 1.488 MB / 2.356 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/6.858, allocations: 110.8 kB / 2.357 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/6.861, allocations: 1.21 MB / 2.358 GB, free: 87.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/6.861, allocations: 29.64 kB / 2.358 GB, free: 87.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/6.862, allocations: 0.8716 MB / 2.359 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/6.862, allocations: 211.6 kB / 2.359 GB, free: 86.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/6.862, allocations: 0 / 2.359 GB, free: 86.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/6.862, allocations: 348.5 kB / 2.359 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/6.863, allocations: 251 kB / 2.359 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/6.863, allocations: 0.662 MB / 2.36 GB, free: 85.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006157/6.87, allocations: 1.161 MB / 2.361 GB, free: 85.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/6.87, allocations: 3.094 kB / 2.361 GB, free: 85.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007573/6.877, allocations: 1.79 MB / 2.363 GB, free: 85.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001205/6.878, allocations: 4.448 MB / 2.367 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/6.878, allocations: 11.56 kB / 2.367 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.1e-05/6.879, allocations: 15.81 kB / 2.367 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/6.879, allocations: 246.2 kB / 2.368 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/6.88, allocations: 21.28 kB / 2.368 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/6.881, allocations: 107.5 kB / 2.368 GB, free: 80.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/6.881, allocations: 50.12 kB / 2.368 GB, free: 80.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/6.881, allocations: 3.062 kB / 2.368 GB, free: 80.95 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006692/6.888, allocations: 1.58 MB / 2.369 GB, free: 80.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/6.888, allocations: 11.88 kB / 2.369 GB, free: 80.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/6.888, allocations: 15.84 kB / 2.369 GB, free: 80.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/6.889, allocations: 242.4 kB / 2.37 GB, free: 80.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/6.889, allocations: 27.02 kB / 2.37 GB, free: 80.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/6.891, allocations: 94.17 kB / 2.37 GB, free: 80.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/6.891, allocations: 49.55 kB / 2.37 GB, free: 80.93 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * 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.000338/6.891, allocations: 144.7 kB / 2.37 GB, free: 80.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/6.892, allocations: 161.3 kB / 2.37 GB, free: 80.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006992/6.899, allocations: 1.689 MB / 2.372 GB, free: 80.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/6.899, allocations: 7.656 kB / 2.372 GB, free: 80.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/6.899, allocations: 2.656 kB / 2.372 GB, free: 80.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005742/6.905, allocations: 1.545 MB / 2.373 GB, free: 80.35 MB / 0.7136 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.009947/6.915, allocations: 2.791 MB / 2.376 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/6.915, allocations: 0 / 2.376 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/6.916, allocations: 134.1 kB / 2.376 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/6.916, allocations: 31.67 kB / 2.376 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/6.916, allocations: 20.66 kB / 2.376 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009872/6.917, allocations: 1.258 MB / 2.377 GB, free: 78.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/6.917, allocations: 1.969 kB / 2.377 GB, free: 78.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/6.924, allocations: 2.072 MB / 2.379 GB, free: 78.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/6.925, allocations: 326.5 kB / 2.38 GB, free: 78.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000543/6.926, allocations: 6.406 kB / 2.38 GB, free: 78.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/6.927, allocations: 78.25 kB / 2.38 GB, free: 78.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/6.927, allocations: 52.64 kB / 2.38 GB, free: 78.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/6.927, allocations: 34.45 kB / 2.38 GB, free: 78.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001945/6.929, allocations: 0.9097 MB / 2.381 GB, free: 78.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.42e-07/6.929, allocations: 0 / 2.381 GB, free: 78.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0053/6.935, allocations: 0.9569 MB / 2.382 GB, free: 78.04 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * 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.003448/6.938, allocations: 1.217 MB / 2.383 GB, free: 77.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002675/6.941, allocations: 1.278 MB / 2.384 GB, free: 77.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/6.941, allocations: 3.812 kB / 2.384 GB, free: 77.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/6.942, allocations: 439.3 kB / 2.384 GB, free: 77.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/6.945, allocations: 0.6175 MB / 2.385 GB, free: 77.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/6.951, allocations: 2.243 MB / 2.387 GB, free: 76.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/6.953, allocations: 1.395 MB / 2.389 GB, free: 76.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003525/6.956, allocations: 0.5907 MB / 2.389 GB, free: 75.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/6.957, allocations: 104.8 kB / 2.389 GB, free: 75.98 MB / 0.7136 GB Notification: Performance of SimCode: time 3.045e-06/6.957, allocations: 0 / 2.389 GB, free: 75.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.05547/7.012, allocations: 31.6 MB / 2.42 GB, free: 73.68 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)