Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008255/0.008255, allocations: 101.6 kB / 15.88 MB, free: 5.871 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.001747/0.001747, allocations: 191.5 kB / 16.79 MB, free: 5.816 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9871/0.9871, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.28 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.177, allocations: 80.92 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.3841/0.5611, allocations: 52.92 MB / 0.636 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.5809, allocations: 15.28 MB / 0.6509 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.5846, allocations: 82.31 kB / 0.651 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.5881, allocations: 0.9504 MB / 0.6519 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006248/0.5944, allocations: 2.142 MB / 0.654 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005202/0.5996, allocations: 2.008 MB / 0.656 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007574/0.6072, allocations: 6.016 MB / 0.6619 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.6098, allocations: 1.398 MB / 0.6632 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.6143, allocations: 1.671 MB / 0.6649 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.6175, allocations: 1.361 MB / 0.6662 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004969/0.618, allocations: 92.44 kB / 0.6663 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/0.623, allocations: 1.726 MB / 0.668 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007501/0.6238, allocations: 466.4 kB / 0.6684 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.6255, allocations: 0.9491 MB / 0.6693 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.6301, allocations: 2.475 MB / 0.6718 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6301, allocations: 0 / 0.6718 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6301, allocations: 1.031 kB / 0.6718 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.54e-05/0.6302, allocations: 0 / 0.6718 GB, free: 3.102 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.006135/0.6364, allocations: 2.53 MB / 0.6742 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6364, allocations: 8.719 kB / 0.6742 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.6389, allocations: 452.8 kB / 0.6747 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.6428, allocations: 1.654 MB / 0.6763 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.6432, allocations: 151.5 kB / 0.6764 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.6435, allocations: 116.4 kB / 0.6765 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.6465, allocations: 1.348 MB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.6466, allocations: 5.156 kB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.6467, allocations: 48.58 kB / 0.6779 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.6468, allocations: 39.75 kB / 0.6779 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/0.6496, allocations: 1.098 MB / 0.679 GB, free: 15.25 MB / 0.5137 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.01132/0.661, allocations: 6.949 MB / 0.6858 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.6637, allocations: 1.394 MB / 0.6872 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.6647, allocations: 418.9 kB / 0.6876 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006299/0.671, allocations: 3.089 MB / 0.6906 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.6723, allocations: 451 kB / 0.691 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008182/0.6731, allocations: 85.5 kB / 0.6911 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.256e-06/0.6731, allocations: 0 / 0.6911 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003308/0.6765, allocations: 1.223 MB / 0.6923 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6765, allocations: 61.16 kB / 0.6923 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.6788, allocations: 1.52 MB / 0.6938 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.6789, allocations: 43.05 kB / 0.6939 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008255/0.6798, allocations: 0.8872 MB / 0.6947 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.68, allocations: 217.7 kB / 0.6949 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.6804, allocations: 204.6 kB / 0.6951 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6805, allocations: 345.5 kB / 0.6955 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.6815, allocations: 389 kB / 0.6958 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.6828, allocations: 0.7619 MB / 0.6966 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.6851, allocations: 1.123 MB / 0.6977 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.6851, allocations: 6.812 kB / 0.6977 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003251/0.6883, allocations: 1.3 MB / 0.699 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.6884, allocations: 42.03 kB / 0.699 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.6885, allocations: 12 kB / 0.699 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.6885, allocations: 18.12 kB / 0.699 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6896, allocations: 258.3 kB / 0.6993 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/0.6896, allocations: 24.97 kB / 0.6993 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.6912, allocations: 116.7 kB / 0.6994 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6914, allocations: 52.67 kB / 0.6995 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/0.693, allocations: 0.6778 MB / 0.7001 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001248/0.6943, allocations: 0.7379 MB / 0.7008 GB, free: 348 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00216/0.6965, allocations: 1.1 MB / 0.7019 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.6965, allocations: 3.094 kB / 0.7019 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003059/0.6995, allocations: 1.266 MB / 0.7032 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.6996, allocations: 47.62 kB / 0.7032 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.6996, allocations: 10.47 kB / 0.7032 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.6996, allocations: 18.12 kB / 0.7032 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.7007, allocations: 256.8 kB / 0.7035 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.7007, allocations: 24 kB / 0.7035 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.7024, allocations: 122.7 kB / 0.7036 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7025, allocations: 55.77 kB / 0.7037 GB, free: 14.66 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.0003974/0.7029, allocations: 245.1 kB / 0.7039 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.7033, allocations: 165.8 kB / 0.7041 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.7062, allocations: 1.126 MB / 0.7052 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.7062, allocations: 7.719 kB / 0.7052 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.7062, allocations: 1.125 kB / 0.7052 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002027/0.7083, allocations: 0.9715 MB / 0.7061 GB, free: 13.11 MB / 0.5294 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.005637/0.7139, allocations: 2.412 MB / 0.7085 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.714, allocations: 3.938 kB / 0.7085 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.7147, allocations: 148 kB / 0.7086 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.7149, allocations: 27.5 kB / 0.7086 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.715, allocations: 21.36 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.7161, allocations: 1.322 MB / 0.71 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7161, allocations: 4.156 kB / 0.71 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.7196, allocations: 1.561 MB / 0.7115 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.7205, allocations: 331 kB / 0.7118 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.7208, allocations: 16 kB / 0.7118 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7218, allocations: 109.4 kB / 0.7119 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.722, allocations: 64.42 kB / 0.712 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.7221, allocations: 27.97 kB / 0.712 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001695/0.7238, allocations: 1.081 MB / 0.7131 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7238, allocations: 0 / 0.7131 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003238/0.727, allocations: 0.8615 MB / 0.7139 GB, free: 6.719 MB / 0.5294 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 (71): * Single equations (assignments): 62 * 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.002166/0.7292, allocations: 0.7008 MB / 0.7146 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.7332, allocations: 1.602 MB / 0.7162 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7332, allocations: 128 / 0.7162 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.7345, allocations: 0.5423 MB / 0.7167 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/0.7386, allocations: 0.7263 MB / 0.7174 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.7458, allocations: 3.763 MB / 0.7211 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.747, allocations: 1.364 MB / 0.7224 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/0.7476, allocations: 143.4 kB / 0.7225 GB, free: 13.93 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.7476, allocations: 0 / 0.7225 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Templates: time 0.04986/0.7975, allocations: 32.96 MB / 0.7547 GB, free: 13.2 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)