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.001084/0.001084, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006843/0.006843, allocations: 171.2 kB / 16.27 MB, free: 6.66 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 8.75 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4324, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06063/0.4931, allocations: 51.87 MB / 0.6343 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.5189, allocations: 15.1 MB / 0.6491 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004157/0.5231, allocations: 79.5 kB / 0.6491 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.5267, allocations: 0.9484 MB / 0.6501 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006867/0.5336, allocations: 2.152 MB / 0.6522 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.5393, allocations: 2.013 MB / 0.6541 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008713/0.5481, allocations: 6.002 MB / 0.66 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.5514, allocations: 1.346 MB / 0.6613 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.5564, allocations: 1.614 MB / 0.6629 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/0.5601, allocations: 1.306 MB / 0.6642 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007249/0.5608, allocations: 68 kB / 0.6642 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.5659, allocations: 1.711 MB / 0.6659 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009628/0.5669, allocations: 426.1 kB / 0.6663 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.5693, allocations: 0.9338 MB / 0.6672 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006601/0.576, allocations: 3.158 MB / 0.6703 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.576, allocations: 0 / 0.6703 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.576, allocations: 0 / 0.6703 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001214/0.5761, allocations: 4 kB / 0.6703 GB, free: 7.484 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.00689/0.583, allocations: 2.175 MB / 0.6724 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.841e-05/0.5831, allocations: 12.03 kB / 0.6724 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.586, allocations: 489.5 kB / 0.6729 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.5905, allocations: 1.651 MB / 0.6745 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/0.5909, allocations: 158.4 kB / 0.6747 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.5911, allocations: 120 kB / 0.6748 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.594, allocations: 1.363 MB / 0.6761 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.594, allocations: 15.92 kB / 0.6761 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5942, allocations: 44 kB / 0.6762 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.5942, allocations: 49.95 kB / 0.6762 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.597, allocations: 1.132 MB / 0.6773 GB, free: 76 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.00973/0.6067, allocations: 6.994 MB / 0.6842 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.6094, allocations: 1.429 MB / 0.6855 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.6104, allocations: 447.4 kB / 0.686 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005337/0.6158, allocations: 3.125 MB / 0.689 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.6169, allocations: 466.9 kB / 0.6895 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004938/0.6174, allocations: 91.28 kB / 0.6896 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.475e-06/0.6174, allocations: 0 / 0.6896 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003171/0.6206, allocations: 1.272 MB / 0.6908 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.6207, allocations: 59.97 kB / 0.6909 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.6227, allocations: 1.513 MB / 0.6923 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.929e-05/0.6228, allocations: 45.7 kB / 0.6924 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000878/0.6237, allocations: 0.8839 MB / 0.6932 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.6239, allocations: 220.8 kB / 0.6935 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.6241, allocations: 93.64 kB / 0.6935 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6242, allocations: 345.9 kB / 0.6939 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.6252, allocations: 389.8 kB / 0.6942 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.6264, allocations: 0.7749 MB / 0.695 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.6286, allocations: 1.16 MB / 0.6961 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.6287, allocations: 4 kB / 0.6961 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003229/0.6319, allocations: 1.337 MB / 0.6974 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.6323, allocations: 441.7 kB / 0.6979 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.6323, allocations: 8 kB / 0.6979 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.35e-05/0.6323, allocations: 20 kB / 0.6979 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6334, allocations: 263.6 kB / 0.6981 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/0.6335, allocations: 27.91 kB / 0.6982 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.635, allocations: 128.5 kB / 0.6983 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6352, allocations: 55.98 kB / 0.6983 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.6352, allocations: 0 / 0.6983 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002613/0.6378, allocations: 1.141 MB / 0.6995 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.6379, allocations: 12 kB / 0.6995 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.6379, allocations: 16.59 kB / 0.6995 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009992/0.6389, allocations: 267.5 kB / 0.6997 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.6389, allocations: 27.92 kB / 0.6998 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6401, allocations: 128.4 kB / 0.6999 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.6402, allocations: 51.98 kB / 0.6999 GB, free: 7.336 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.0009517/0.6412, allocations: 476.7 kB / 0.7004 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.6414, allocations: 165.9 kB / 0.7006 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.6443, allocations: 1.154 MB / 0.7017 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.6443, allocations: 8 kB / 0.7017 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.6444, allocations: 0 / 0.7017 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00206/0.6464, allocations: 1.006 MB / 0.7027 GB, free: 4.465 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.004878/0.6513, allocations: 2.452 MB / 0.7051 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.6513, allocations: 0 / 0.7051 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.6521, allocations: 159.8 kB / 0.7052 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.6523, allocations: 24.84 kB / 0.7052 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.6524, allocations: 23.98 kB / 0.7053 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.6535, allocations: 1.319 MB / 0.7066 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6535, allocations: 8.188 kB / 0.7066 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.657, allocations: 1.6 MB / 0.7081 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/0.6577, allocations: 350.7 kB / 0.7085 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.6579, allocations: 15.94 kB / 0.7085 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.6589, allocations: 123.7 kB / 0.7086 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.6591, allocations: 56.42 kB / 0.7086 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.6592, allocations: 23.98 kB / 0.7087 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001655/0.6608, allocations: 1.085 MB / 0.7097 GB, free: 12.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6608, allocations: 0 / 0.7097 GB, free: 12.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00286/0.6637, allocations: 0.8654 MB / 0.7106 GB, free: 12.09 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 (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.001892/0.6656, allocations: 0.7119 MB / 0.7113 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003869/0.6695, allocations: 1.648 MB / 0.7129 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6695, allocations: 0 / 0.7129 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.6708, allocations: 0.5646 MB / 0.7134 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.6746, allocations: 0.7149 MB / 0.7141 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/0.6806, allocations: 3.798 MB / 0.7178 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009942/0.6817, allocations: 1.364 MB / 0.7192 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001903/0.6836, allocations: 416.5 kB / 0.7196 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.6839, allocations: 139.4 kB / 0.7197 GB, free: 2.82 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.6839, allocations: 0 / 0.7197 GB, free: 2.82 MB / 0.545 GB Notification: Performance of Templates: time 0.05769/0.7416, allocations: 29.87 MB / 0.7489 GB, free: 5.371 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)