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.001485/0.001485, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9374/0.9374, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 60.34 kB / 0.5053 GB, free: 5.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1683, allocations: 80.94 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.3092/0.4776, allocations: 53.24 MB / 0.6364 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.4953, allocations: 15.19 MB / 0.6512 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.4984, allocations: 85.78 kB / 0.6513 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.5018, allocations: 1.12 MB / 0.6524 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006303/0.5081, allocations: 2.336 MB / 0.6547 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008224/0.5163, allocations: 2.257 MB / 0.6569 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.5281, allocations: 4.621 MB / 0.6614 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004405/0.5325, allocations: 1.62 MB / 0.663 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006879/0.5395, allocations: 1.909 MB / 0.6648 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.5432, allocations: 1.352 MB / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009015/0.5442, allocations: 167.1 kB / 0.6663 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005314/0.5495, allocations: 1.836 MB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.5506, allocations: 0.5206 MB / 0.6686 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.5525, allocations: 1.036 MB / 0.6696 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007124/0.5596, allocations: 3.281 MB / 0.6728 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.5597, allocations: 1.406 kB / 0.6728 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.168e-06/0.5597, allocations: 4.594 kB / 0.6728 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.101e-05/0.5597, allocations: 0 / 0.6728 GB, free: 1.539 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.005672/0.5654, allocations: 2.521 MB / 0.6753 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5655, allocations: 9.062 kB / 0.6753 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.5678, allocations: 449.3 kB / 0.6757 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.5714, allocations: 1.609 MB / 0.6773 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.5718, allocations: 141.8 kB / 0.6774 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.5721, allocations: 124.2 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.575, allocations: 1.353 MB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.575, allocations: 1.375 kB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.5752, allocations: 47.66 kB / 0.6789 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.5752, allocations: 41.12 kB / 0.679 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.5781, allocations: 1.088 MB / 0.68 GB, free: 13.71 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.01122/0.5893, allocations: 7.123 MB / 0.687 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.5919, allocations: 1.363 MB / 0.6883 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.593, allocations: 430.4 kB / 0.6887 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005645/0.5987, allocations: 3.081 MB / 0.6917 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.5998, allocations: 456 kB / 0.6922 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 4.398e-06/0.5998, allocations: 3.984 kB / 0.6922 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003458/0.6033, allocations: 1.222 MB / 0.6934 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.6034, allocations: 59.16 kB / 0.6934 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.6056, allocations: 1.536 MB / 0.6949 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/0.6057, allocations: 47.34 kB / 0.695 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.6065, allocations: 0.8785 MB / 0.6958 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.6067, allocations: 216 kB / 0.696 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.607, allocations: 204 kB / 0.6962 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6071, allocations: 341.9 kB / 0.6965 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009806/0.6081, allocations: 389.9 kB / 0.6969 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.6094, allocations: 0.7516 MB / 0.6977 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.6116, allocations: 1.129 MB / 0.6988 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.6117, allocations: 4.031 kB / 0.6988 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003275/0.615, allocations: 1.297 MB / 0.7 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.615, allocations: 37.05 kB / 0.7001 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.615, allocations: 13.84 kB / 0.7001 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.6151, allocations: 16.62 kB / 0.7001 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.6161, allocations: 254.2 kB / 0.7003 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.983e-05/0.6162, allocations: 35.73 kB / 0.7004 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6177, allocations: 138 kB / 0.7005 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6178, allocations: 56.89 kB / 0.7006 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001652/0.6195, allocations: 0.6742 MB / 0.7012 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001236/0.6207, allocations: 0.733 MB / 0.7019 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002238/0.623, allocations: 1.097 MB / 0.703 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.507e-05/0.623, allocations: 2.969 kB / 0.703 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003158/0.6262, allocations: 1.273 MB / 0.7042 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.6262, allocations: 38.98 kB / 0.7043 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6262, allocations: 10.47 kB / 0.7043 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6263, allocations: 18.22 kB / 0.7043 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6273, allocations: 254.5 kB / 0.7045 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.6273, allocations: 24.95 kB / 0.7046 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.6288, allocations: 119.9 kB / 0.7047 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.6289, allocations: 51.61 kB / 0.7047 GB, free: 12.93 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 (120): * Single equations (assignments): 118 * 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.0003548/0.6293, allocations: 250.6 kB / 0.705 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/0.6298, allocations: 166.7 kB / 0.7051 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.6327, allocations: 1.117 MB / 0.7062 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.6328, allocations: 7.75 kB / 0.7062 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.6328, allocations: 0 / 0.7062 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/0.6349, allocations: 0.9652 MB / 0.7072 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.6403, allocations: 2.416 MB / 0.7095 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6404, allocations: 6.281 kB / 0.7095 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.6411, allocations: 150.3 kB / 0.7097 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.6413, allocations: 36.67 kB / 0.7097 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.6414, allocations: 20.17 kB / 0.7097 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.6424, allocations: 1.418 MB / 0.7111 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6425, allocations: 0 / 0.7111 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.6459, allocations: 1.553 MB / 0.7126 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/0.6467, allocations: 345.4 kB / 0.713 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/0.6472, allocations: 14.47 kB / 0.713 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.6484, allocations: 65.91 kB / 0.713 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6485, allocations: 48.12 kB / 0.7131 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.6486, allocations: 30.25 kB / 0.7131 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001948/0.6506, allocations: 1.097 MB / 0.7142 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6506, allocations: 0 / 0.7142 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003309/0.6539, allocations: 0.8614 MB / 0.715 GB, free: 5.141 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 (70): * Single equations (assignments): 61 * 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.002124/0.656, allocations: 0.721 MB / 0.7157 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004127/0.6602, allocations: 1.662 MB / 0.7174 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6602, allocations: 1.75 kB / 0.7174 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.6615, allocations: 0.544 MB / 0.7179 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.665, allocations: 0.7722 MB / 0.7186 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/0.6709, allocations: 3.078 MB / 0.7217 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.6721, allocations: 1.36 MB / 0.723 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001803/0.6739, allocations: 425.8 kB / 0.7234 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.6743, allocations: 131.4 kB / 0.7235 GB, free: 12.52 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6743, allocations: 0 / 0.7235 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Templates: time 0.05582/0.7301, allocations: 31.49 MB / 0.7543 GB, free: 13.43 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)