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.001019/0.001019, allocations: 91.92 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.001005/0.001005, 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.292/1.292, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7536/0.7536, allocations: 132.4 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 11.98 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3602, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04858/0.4089, allocations: 49.04 MB / 0.631 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02052/0.4294, allocations: 14.22 MB / 0.6448 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.4324, allocations: 75.5 kB / 0.6449 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.4353, allocations: 0.7611 MB / 0.6457 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005746/0.4411, allocations: 1.887 MB / 0.6475 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.446, allocations: 1.73 MB / 0.6492 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006545/0.4526, allocations: 5.144 MB / 0.6542 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.4551, allocations: 1.226 MB / 0.6554 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.4584, allocations: 1.528 MB / 0.6569 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.4607, allocations: 1.268 MB / 0.6581 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.4612, allocations: 68 kB / 0.6582 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.4645, allocations: 1.4 MB / 0.6596 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007101/0.4653, allocations: 410.3 kB / 0.66 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008003/0.4661, allocations: 412.5 kB / 0.6604 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.4696, allocations: 2.404 MB / 0.6627 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4696, allocations: 0 / 0.6627 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4696, allocations: 0 / 0.6627 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001218/0.4697, allocations: 0 / 0.6627 GB, free: 14.82 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.005196/0.4749, allocations: 2.202 MB / 0.6649 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.475, allocations: 8.031 kB / 0.6649 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.4771, allocations: 488.9 kB / 0.6653 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/0.4807, allocations: 1.582 MB / 0.6669 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.4811, allocations: 158.4 kB / 0.667 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.4814, allocations: 124 kB / 0.6672 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.4842, allocations: 1.363 MB / 0.6685 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.4843, allocations: 4 kB / 0.6685 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.4844, allocations: 52 kB / 0.6685 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.4845, allocations: 38.08 kB / 0.6686 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.4872, allocations: 1.14 MB / 0.6697 GB, free: 7.465 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.008953/0.4962, allocations: 6.994 MB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.4987, allocations: 1.457 MB / 0.6779 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/0.4996, allocations: 437.9 kB / 0.6784 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004496/0.5042, allocations: 3.098 MB / 0.6814 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.5052, allocations: 466.9 kB / 0.6818 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004782/0.5057, allocations: 91.3 kB / 0.6819 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.057e-06/0.5057, allocations: 3.984 kB / 0.6819 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003113/0.5088, allocations: 1.291 MB / 0.6832 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5089, allocations: 59.97 kB / 0.6832 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.511, allocations: 1.545 MB / 0.6847 GB, free: 7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.5111, allocations: 45.7 kB / 0.6848 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/0.5118, allocations: 0.8685 MB / 0.6856 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.512, allocations: 224.8 kB / 0.6858 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.512, allocations: 24 kB / 0.6859 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5122, allocations: 341.9 kB / 0.6862 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/0.5131, allocations: 377.8 kB / 0.6866 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.5142, allocations: 0.7631 MB / 0.6873 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5153, allocations: 0.4888 MB / 0.6878 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.5153, allocations: 4 kB / 0.6878 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0027/0.518, allocations: 1.301 MB / 0.6891 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.5183, allocations: 445.3 kB / 0.6895 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5183, allocations: 12 kB / 0.6895 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/0.5184, allocations: 16 kB / 0.6895 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5195, allocations: 271.6 kB / 0.6898 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.5195, allocations: 23.92 kB / 0.6898 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5208, allocations: 132.5 kB / 0.6899 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.521, allocations: 51.98 kB / 0.69 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.521, allocations: 7.984 kB / 0.69 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/0.5234, allocations: 1.126 MB / 0.6911 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.5234, allocations: 12 kB / 0.6911 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5234, allocations: 19.95 kB / 0.6911 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.5245, allocations: 272.1 kB / 0.6914 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.5245, allocations: 19.94 kB / 0.6914 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5257, allocations: 128.5 kB / 0.6915 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/0.5259, allocations: 55.97 kB / 0.6916 GB, free: 15.65 MB / 0.5294 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.0007209/0.5266, allocations: 481.9 kB / 0.692 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.5269, allocations: 165.8 kB / 0.6922 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.5295, allocations: 1.177 MB / 0.6933 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.5296, allocations: 11.98 kB / 0.6933 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5296, allocations: 0 / 0.6933 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001951/0.5315, allocations: 1.002 MB / 0.6943 GB, free: 12.75 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.004424/0.536, allocations: 2.456 MB / 0.6967 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.536, allocations: 0 / 0.6967 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.5368, allocations: 155.8 kB / 0.6969 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.5369, allocations: 32.84 kB / 0.6969 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.537, allocations: 19.98 kB / 0.6969 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.5382, allocations: 1.367 MB / 0.6982 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5382, allocations: 0 / 0.6982 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.5414, allocations: 1.631 MB / 0.6998 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/0.5421, allocations: 354.6 kB / 0.7002 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/0.5424, allocations: 15.98 kB / 0.7002 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.5436, allocations: 115.9 kB / 0.7003 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5437, allocations: 52.48 kB / 0.7004 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/0.5438, allocations: 31.97 kB / 0.7004 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001744/0.5456, allocations: 1.097 MB / 0.7015 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5456, allocations: 0 / 0.7015 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002743/0.5483, allocations: 0.8888 MB / 0.7023 GB, free: 4.273 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.001608/0.5499, allocations: 0.7005 MB / 0.703 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00348/0.5534, allocations: 1.636 MB / 0.7046 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5534, allocations: 0 / 0.7046 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.5546, allocations: 0.5771 MB / 0.7052 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.5579, allocations: 0.7256 MB / 0.7059 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.5637, allocations: 3.739 MB / 0.7095 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.5647, allocations: 1.36 MB / 0.7109 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001718/0.5664, allocations: 412.1 kB / 0.7112 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.5668, allocations: 135.4 kB / 0.7114 GB, free: 11.07 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.5668, allocations: 0 / 0.7114 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Templates: time 0.0478/0.6146, allocations: 29.82 MB / 0.7405 GB, free: 13.66 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)