Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.031/2.031, allocations: 292.6 MB / 307.6 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002283/0.002283, allocations: 180.4 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.6367 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.17 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003592, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.749/2.035, allocations: 455.7 MB / 1.433 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/2.035, allocations: 103.1 kB / 1.433 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.221/6.256, allocations: 1.171 GB / 2.605 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.264e-06/6.256, allocations: 0 / 2.605 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004275/6.256, allocations: 55.45 kB / 2.605 GB, free: 124.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008934/6.265, allocations: 2.566 MB / 2.607 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/6.265, allocations: 11.12 kB / 2.607 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/6.268, allocations: 467.5 kB / 2.608 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008002/6.276, allocations: 2.306 MB / 2.61 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/6.276, allocations: 92.64 kB / 2.61 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/6.277, allocations: 130.1 kB / 2.61 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/6.281, allocations: 1.316 MB / 2.611 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/6.281, allocations: 7.828 kB / 2.611 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/6.281, allocations: 48.34 kB / 2.611 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/6.281, allocations: 33.45 kB / 2.612 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/6.283, allocations: 0.9613 MB / 2.612 GB, free: 122.6 MB / 0.9636 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.01047/6.294, allocations: 6.887 MB / 2.619 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/6.296, allocations: 1.282 MB / 2.62 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005155/6.301, allocations: 2.879 MB / 2.623 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008872/6.302, allocations: 412.8 kB / 2.624 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000965/6.303, allocations: 95.27 kB / 2.624 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=61): time 6.632e-06/6.303, allocations: 2.25 kB / 2.624 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=61): time 0.002878/6.306, allocations: 1.119 MB / 2.625 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/6.306, allocations: 165.3 kB / 2.625 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/6.309, allocations: 1.362 MB / 2.626 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/6.309, allocations: 53.75 kB / 2.626 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009392/6.31, allocations: 0.8831 MB / 2.627 GB, free: 115 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/6.31, allocations: 217 kB / 2.627 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/6.31, allocations: 20.19 kB / 2.627 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.31, allocations: 350.3 kB / 2.628 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/6.311, allocations: 323.2 kB / 2.628 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/6.312, allocations: 0.7606 MB / 2.629 GB, free: 114 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/6.313, allocations: 456.1 kB / 2.629 GB, free: 114 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/6.313, allocations: 3.906 kB / 2.629 GB, free: 114 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002684/6.316, allocations: 1.222 MB / 2.63 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00112/6.317, allocations: 4.548 MB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/6.317, allocations: 15.19 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.066e-05/6.317, allocations: 28.95 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/6.318, allocations: 243.9 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-05/6.318, allocations: 27.23 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/6.32, allocations: 123.4 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/6.32, allocations: 58.31 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/6.32, allocations: 5.469 kB / 2.635 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002117/6.322, allocations: 1.049 MB / 2.636 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/6.322, allocations: 11.66 kB / 2.636 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/6.322, allocations: 17.72 kB / 2.636 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008684/6.323, allocations: 245.3 kB / 2.637 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/6.323, allocations: 25.89 kB / 2.637 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/6.325, allocations: 115.9 kB / 2.637 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/6.325, allocations: 50.47 kB / 2.637 GB, free: 109 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (122): * Single equations (assignments): 118 * 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.001158/6.326, allocations: 0.4902 MB / 2.637 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/6.326, allocations: 168.6 kB / 2.638 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/6.329, allocations: 1.047 MB / 2.639 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/6.329, allocations: 15 kB / 2.639 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/6.329, allocations: 3.391 kB / 2.639 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00152/6.331, allocations: 0.8997 MB / 2.639 GB, free: 108.3 MB / 0.9636 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.005465/6.336, allocations: 2.268 MB / 2.642 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/6.336, allocations: 3.875 kB / 2.642 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/6.337, allocations: 134.6 kB / 2.642 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/6.337, allocations: 32.27 kB / 2.642 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/6.337, allocations: 18.89 kB / 2.642 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009736/6.338, allocations: 1.308 MB / 2.643 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/6.338, allocations: 0 / 2.643 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/6.341, allocations: 1.484 MB / 2.645 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/6.342, allocations: 348.3 kB / 2.645 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005959/6.343, allocations: 18.95 kB / 2.645 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/6.344, allocations: 100.9 kB / 2.645 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/6.344, allocations: 58.55 kB / 2.645 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/6.344, allocations: 33.78 kB / 2.645 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00241/6.347, allocations: 1.095 MB / 2.646 GB, free: 106 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.41e-07/6.347, allocations: 0 / 2.646 GB, free: 106 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004973/6.352, allocations: 1.045 MB / 2.647 GB, free: 105.8 MB / 0.9636 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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * 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.003618/6.355, allocations: 1.341 MB / 2.648 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003455/6.359, allocations: 1.551 MB / 2.65 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/6.359, allocations: 0 / 2.65 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/6.36, allocations: 0.5046 MB / 2.65 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004067/6.364, allocations: 0.7275 MB / 2.651 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/6.371, allocations: 3.703 MB / 2.655 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/6.373, allocations: 1.409 MB / 2.656 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002783/6.376, allocations: 432.1 kB / 2.657 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005783/6.376, allocations: 143.6 kB / 2.657 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.323e-06/6.376, allocations: 0 / 2.657 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.06525/6.442, allocations: 36.06 MB / 2.692 GB, free: 100.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)