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.0009628/0.0009628, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001118/0.001118, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9544/0.9544, allocations: 135.3 MB / 426.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 11.94 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 82.31 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.4169/0.5998, allocations: 49.02 MB / 0.6352 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.6196, allocations: 14.24 MB / 0.6491 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003569/0.6233, allocations: 69.91 kB / 0.6492 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003333/0.6266, allocations: 0.7634 MB / 0.65 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.6329, allocations: 1.876 MB / 0.6518 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.6382, allocations: 1.736 MB / 0.6535 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006826/0.645, allocations: 5.14 MB / 0.6585 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.6475, allocations: 1.224 MB / 0.6597 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.6517, allocations: 1.544 MB / 0.6612 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.6553, allocations: 1.261 MB / 0.6624 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.656, allocations: 69.12 kB / 0.6625 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.6608, allocations: 1.399 MB / 0.6639 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009952/0.6618, allocations: 407.6 kB / 0.6643 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.663, allocations: 404.2 kB / 0.6646 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00666/0.6697, allocations: 2.409 MB / 0.667 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6697, allocations: 4.547 kB / 0.667 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6697, allocations: 1.062 kB / 0.667 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.076e-05/0.6698, allocations: 0 / 0.667 GB, free: 8.109 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.006752/0.6766, allocations: 2.199 MB / 0.6691 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6766, allocations: 9.25 kB / 0.6692 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.6792, allocations: 488.3 kB / 0.6696 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.6836, allocations: 1.568 MB / 0.6712 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/0.684, allocations: 167.2 kB / 0.6713 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.6843, allocations: 121.5 kB / 0.6714 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.6874, allocations: 1.367 MB / 0.6728 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.6874, allocations: 1.156 kB / 0.6728 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.6876, allocations: 47.97 kB / 0.6728 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.6876, allocations: 45 kB / 0.6729 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.6906, allocations: 1.133 MB / 0.674 GB, free: 4.539 MB / 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.01007/0.7006, allocations: 6.999 MB / 0.6808 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.7034, allocations: 1.453 MB / 0.6822 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.7044, allocations: 435.4 kB / 0.6826 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005781/0.7102, allocations: 3.103 MB / 0.6857 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.7115, allocations: 466.3 kB / 0.6861 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008824/0.7124, allocations: 83.59 kB / 0.6862 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.016e-06/0.7124, allocations: 5.031 kB / 0.6862 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003447/0.7159, allocations: 1.291 MB / 0.6874 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.7159, allocations: 66.75 kB / 0.6875 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.7186, allocations: 1.544 MB / 0.689 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.7188, allocations: 42.83 kB / 0.6891 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008488/0.7196, allocations: 0.8705 MB / 0.6899 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.7199, allocations: 225 kB / 0.6901 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.72, allocations: 23.92 kB / 0.6901 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7201, allocations: 342.4 kB / 0.6905 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/0.7211, allocations: 379.1 kB / 0.6908 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.7223, allocations: 0.7663 MB / 0.6916 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.7234, allocations: 487.7 kB / 0.692 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.7234, allocations: 3.906 kB / 0.6921 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003136/0.7265, allocations: 1.294 MB / 0.6933 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.7269, allocations: 444.3 kB / 0.6937 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.727, allocations: 10.97 kB / 0.6938 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.727, allocations: 16.78 kB / 0.6938 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.7281, allocations: 271.4 kB / 0.694 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.7281, allocations: 24.27 kB / 0.694 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.73, allocations: 148.7 kB / 0.6942 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.7301, allocations: 55.91 kB / 0.6942 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.7302, allocations: 4.812 kB / 0.6942 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002512/0.7327, allocations: 1.124 MB / 0.6953 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.7327, allocations: 9.969 kB / 0.6954 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.7327, allocations: 22.28 kB / 0.6954 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7338, allocations: 270.4 kB / 0.6956 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.882e-05/0.7338, allocations: 20.84 kB / 0.6957 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.7355, allocations: 131.7 kB / 0.6958 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.7356, allocations: 55.88 kB / 0.6958 GB, free: 6.184 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (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.001135/0.7368, allocations: 483.7 kB / 0.6963 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/0.7371, allocations: 166.8 kB / 0.6965 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.7399, allocations: 1.162 MB / 0.6976 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/0.74, allocations: 15.66 kB / 0.6976 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.74, allocations: 4 kB / 0.6976 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002165/0.7421, allocations: 1.005 MB / 0.6986 GB, free: 4.477 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 postOpt removeSimpleEquations (simulation): time 0.006264/0.7484, allocations: 2.453 MB / 0.701 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.7485, allocations: 0 / 0.701 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.7493, allocations: 153.5 kB / 0.7011 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.7496, allocations: 32.5 kB / 0.7012 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.7497, allocations: 24.7 kB / 0.7012 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.7511, allocations: 1.371 MB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7512, allocations: 2.281 kB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.7551, allocations: 1.627 MB / 0.7041 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.7565, allocations: 354 kB / 0.7045 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007605/0.7573, allocations: 20.27 kB / 0.7045 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.7589, allocations: 111.1 kB / 0.7046 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.759, allocations: 58.7 kB / 0.7046 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.7592, allocations: 31.22 kB / 0.7047 GB, free: 104 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00285/0.762, allocations: 1.105 MB / 0.7057 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.593e-06/0.762, allocations: 3.938 kB / 0.7057 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00505/0.7671, allocations: 0.8862 MB / 0.7066 GB, free: 15.28 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002518/0.7696, allocations: 0.6934 MB / 0.7073 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004064/0.7737, allocations: 1.631 MB / 0.7089 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7737, allocations: 0.5 kB / 0.7089 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.7751, allocations: 0.5759 MB / 0.7094 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/0.7795, allocations: 0.7385 MB / 0.7102 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.7867, allocations: 3.74 MB / 0.7138 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.788, allocations: 1.36 MB / 0.7151 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002452/0.7905, allocations: 418.1 kB / 0.7155 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.791, allocations: 143.3 kB / 0.7157 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.791, allocations: 0 / 0.7157 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of Templates: time 0.05398/0.845, allocations: 29.8 MB / 0.7448 GB, free: 10.15 MB / 0.5606 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)