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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001082, allocations: 193.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.741/0.741, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.16 kB / 0.5013 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4183, allocations: 80.2 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05399/0.4723, allocations: 52.81 MB / 0.6312 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02364/0.496, allocations: 15.08 MB / 0.6459 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005732/0.5018, allocations: 83.5 kB / 0.646 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.5061, allocations: 0.9836 MB / 0.6469 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00829/0.5144, allocations: 2.165 MB / 0.6491 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.5208, allocations: 2.064 MB / 0.6511 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007301/0.5281, allocations: 4.668 MB / 0.6556 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.5309, allocations: 1.627 MB / 0.6572 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005364/0.5363, allocations: 1.926 MB / 0.6591 GB, free: 76 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.5389, allocations: 1.404 MB / 0.6605 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005698/0.5395, allocations: 168 kB / 0.6606 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.5436, allocations: 1.84 MB / 0.6624 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006911/0.5443, allocations: 0.5294 MB / 0.6629 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.5456, allocations: 1.041 MB / 0.664 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.5507, allocations: 3.307 MB / 0.6672 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5507, allocations: 0 / 0.6672 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5507, allocations: 0 / 0.6672 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.5508, allocations: 0 / 0.6672 GB, free: 7.762 MB / 0.4981 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.004072/0.5548, allocations: 2.517 MB / 0.6696 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5549, allocations: 16.02 kB / 0.6697 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.5569, allocations: 453.5 kB / 0.6701 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.5598, allocations: 1.647 MB / 0.6717 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.5601, allocations: 146.4 kB / 0.6718 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5603, allocations: 120 kB / 0.672 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.5629, allocations: 1.353 MB / 0.6733 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.5629, allocations: 3.938 kB / 0.6733 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.563, allocations: 51.94 kB / 0.6733 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.5631, allocations: 46.02 kB / 0.6734 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.5658, allocations: 1.089 MB / 0.6744 GB, free: 112 kB / 0.4981 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.009244/0.575, allocations: 6.975 MB / 0.6813 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.5775, allocations: 1.377 MB / 0.6826 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.5784, allocations: 426.9 kB / 0.683 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005085/0.5835, allocations: 3.083 MB / 0.686 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.5846, allocations: 450.8 kB / 0.6864 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004073/0.585, allocations: 75.34 kB / 0.6865 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.344e-06/0.585, allocations: 0 / 0.6865 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.002975/0.588, allocations: 1.237 MB / 0.6877 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5881, allocations: 63.97 kB / 0.6878 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.5899, allocations: 1.513 MB / 0.6893 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.59, allocations: 41.7 kB / 0.6893 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.5907, allocations: 0.8801 MB / 0.6902 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.5908, allocations: 216.9 kB / 0.6904 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.5912, allocations: 202.4 kB / 0.6906 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5913, allocations: 341.9 kB / 0.6909 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.5922, allocations: 396.5 kB / 0.6913 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.5934, allocations: 0.7593 MB / 0.692 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.5953, allocations: 1.132 MB / 0.6931 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.5953, allocations: 4 kB / 0.6931 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002529/0.5979, allocations: 1.306 MB / 0.6944 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.5979, allocations: 41.83 kB / 0.6944 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.598, allocations: 8 kB / 0.6944 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.598, allocations: 16 kB / 0.6945 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/0.599, allocations: 259.6 kB / 0.6947 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.599, allocations: 23.92 kB / 0.6947 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6002, allocations: 120.4 kB / 0.6948 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.6003, allocations: 55.98 kB / 0.6949 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/0.6017, allocations: 0.6737 MB / 0.6956 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.6028, allocations: 0.7436 MB / 0.6963 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001952/0.6048, allocations: 1.097 MB / 0.6974 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.151e-06/0.6048, allocations: 4 kB / 0.6974 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002567/0.6074, allocations: 1.286 MB / 0.6986 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.6074, allocations: 41.69 kB / 0.6986 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6075, allocations: 12 kB / 0.6987 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6075, allocations: 16 kB / 0.6987 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.6084, allocations: 255.9 kB / 0.6989 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.6084, allocations: 24.12 kB / 0.6989 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.6096, allocations: 124.4 kB / 0.6991 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.6097, allocations: 55.92 kB / 0.6991 GB, free: 5.062 MB / 0.5294 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.61, allocations: 247.8 kB / 0.6994 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.6102, allocations: 169.9 kB / 0.6995 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.6128, allocations: 1.135 MB / 0.7006 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.6128, allocations: 11.98 kB / 0.7006 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6128, allocations: 4 kB / 0.7006 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/0.6147, allocations: 0.9743 MB / 0.7016 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/0.6192, allocations: 2.42 MB / 0.704 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6192, allocations: 0 / 0.704 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007384/0.62, allocations: 143.8 kB / 0.7041 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.6202, allocations: 28.91 kB / 0.7041 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.6203, allocations: 23.98 kB / 0.7041 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.6214, allocations: 1.402 MB / 0.7055 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6214, allocations: 7.969 kB / 0.7055 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.6246, allocations: 1.569 MB / 0.707 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.6252, allocations: 334.7 kB / 0.7074 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.6254, allocations: 15.94 kB / 0.7074 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/0.6264, allocations: 111.8 kB / 0.7075 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.6265, allocations: 56.52 kB / 0.7075 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.6266, allocations: 28.11 kB / 0.7076 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00139/0.628, allocations: 1.077 MB / 0.7086 GB, free: 10.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.628, allocations: 4 kB / 0.7086 GB, free: 10.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002468/0.6305, allocations: 0.8693 MB / 0.7095 GB, free: 10.1 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/0.6321, allocations: 0.7089 MB / 0.7102 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00386/0.636, allocations: 1.674 MB / 0.7118 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.636, allocations: 5.812 kB / 0.7118 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6372, allocations: 0.5529 MB / 0.7123 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.6402, allocations: 0.7703 MB / 0.7131 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.6458, allocations: 3.719 MB / 0.7167 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.6467, allocations: 1.356 MB / 0.7181 GB, free: 1.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001661/0.6483, allocations: 412.3 kB / 0.7185 GB, free: 1.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.6487, allocations: 143.4 kB / 0.7186 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.6487, allocations: 4 kB / 0.7186 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of Templates: time 0.05097/0.6997, allocations: 31.05 MB / 0.7489 GB, free: 2.25 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (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 & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)