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.001425/0.001425, allocations: 112.5 kB / 15.73 MB, free: 76 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.001637/0.001638, allocations: 193 kB / 16.66 MB, free: 6.582 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9928/0.9928, allocations: 135.1 MB / 425.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4013, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05315/0.4545, allocations: 53.28 MB / 0.7167 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.4781, allocations: 15.18 MB / 0.7315 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.4815, allocations: 87.5 kB / 0.7316 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003856/0.4854, allocations: 1.113 MB / 0.7327 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008744/0.4942, allocations: 2.346 MB / 0.735 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007237/0.5014, allocations: 2.262 MB / 0.7372 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007832/0.5093, allocations: 4.622 MB / 0.7417 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.5119, allocations: 1.631 MB / 0.7433 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.5163, allocations: 1.91 MB / 0.7451 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.5183, allocations: 1.353 MB / 0.7465 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.5186, allocations: 168 kB / 0.7466 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.5222, allocations: 1.837 MB / 0.7484 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.5228, allocations: 0.5216 MB / 0.7489 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.5239, allocations: 1.034 MB / 0.7499 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.5287, allocations: 3.345 MB / 0.7532 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5287, allocations: 4 kB / 0.7532 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5287, allocations: 0 / 0.7532 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.453e-05/0.5287, allocations: 4 kB / 0.7532 GB, free: 6.742 MB / 0.5762 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.004262/0.533, allocations: 2.6 MB / 0.7558 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5331, allocations: 16.02 kB / 0.7558 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.5351, allocations: 466.5 kB / 0.7562 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.5381, allocations: 1.68 MB / 0.7579 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.5382, allocations: 90.19 kB / 0.7579 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.5384, allocations: 120 kB / 0.7581 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.5409, allocations: 1.35 MB / 0.7594 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.541, allocations: 3.938 kB / 0.7594 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5411, allocations: 48 kB / 0.7594 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.5411, allocations: 46 kB / 0.7595 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.5437, allocations: 1.074 MB / 0.7605 GB, free: 15.04 MB / 0.5919 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.00877/0.5525, allocations: 7.1 MB / 0.7674 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.555, allocations: 1.344 MB / 0.7688 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009893/0.556, allocations: 425.5 kB / 0.7692 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005032/0.561, allocations: 3.099 MB / 0.7722 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5621, allocations: 438.9 kB / 0.7726 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/0.5621, allocations: 0 / 0.7726 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003128/0.5652, allocations: 1.206 MB / 0.7738 GB, free: 412 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5653, allocations: 67.95 kB / 0.7739 GB, free: 332 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.5675, allocations: 1.533 MB / 0.7753 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.5676, allocations: 45.7 kB / 0.7754 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007635/0.5683, allocations: 0.8972 MB / 0.7763 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.5686, allocations: 226.1 kB / 0.7765 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.5689, allocations: 206.5 kB / 0.7767 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5691, allocations: 341.9 kB / 0.777 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009766/0.5701, allocations: 380.6 kB / 0.7774 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.5714, allocations: 0.7514 MB / 0.7781 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.5737, allocations: 1.121 MB / 0.7792 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.5737, allocations: 7.938 kB / 0.7792 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00295/0.5767, allocations: 1.294 MB / 0.7805 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.5767, allocations: 37.7 kB / 0.7805 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.5768, allocations: 12 kB / 0.7805 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/0.5768, allocations: 16.09 kB / 0.7805 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5779, allocations: 259.9 kB / 0.7808 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.866e-05/0.5779, allocations: 23.92 kB / 0.7808 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5792, allocations: 139.9 kB / 0.7809 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5794, allocations: 51.98 kB / 0.781 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001612/0.581, allocations: 0.6698 MB / 0.7816 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001247/0.5823, allocations: 0.7358 MB / 0.7824 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002079/0.5844, allocations: 1.082 MB / 0.7834 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/0.5844, allocations: 0 / 0.7834 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003004/0.5874, allocations: 1.282 MB / 0.7847 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.5874, allocations: 46.25 kB / 0.7847 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5875, allocations: 8 kB / 0.7847 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5875, allocations: 24 kB / 0.7847 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.5884, allocations: 247.6 kB / 0.785 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.5885, allocations: 19.94 kB / 0.785 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.5897, allocations: 124.1 kB / 0.7851 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5898, allocations: 51.98 kB / 0.7852 GB, free: 4.012 MB / 0.6075 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.0003098/0.5901, allocations: 249.2 kB / 0.7854 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.5904, allocations: 174.9 kB / 0.7856 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.5932, allocations: 1.104 MB / 0.7866 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.5933, allocations: 8 kB / 0.7867 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5933, allocations: 4 kB / 0.7867 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001972/0.5953, allocations: 0.9625 MB / 0.7876 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.6, allocations: 2.409 MB / 0.79 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6001, allocations: 0 / 0.79 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.6008, allocations: 143.9 kB / 0.7901 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.601, allocations: 24.84 kB / 0.7901 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.6011, allocations: 19.98 kB / 0.7901 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.6023, allocations: 1.421 MB / 0.7915 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/0.6023, allocations: 3.938 kB / 0.7915 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.6056, allocations: 1.54 MB / 0.793 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.6063, allocations: 359.6 kB / 0.7934 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.6065, allocations: 15.94 kB / 0.7934 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/0.6074, allocations: 59.94 kB / 0.7934 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6075, allocations: 52.5 kB / 0.7935 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.6076, allocations: 27.97 kB / 0.7935 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001714/0.6093, allocations: 1.093 MB / 0.7946 GB, free: 10 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6094, allocations: 4 kB / 0.7946 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002371/0.6117, allocations: 0.873 MB / 0.7954 GB, free: 9.121 MB / 0.6231 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.00192/0.6137, allocations: 0.7421 MB / 0.7962 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003746/0.6174, allocations: 1.582 MB / 0.7977 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6174, allocations: 0 / 0.7977 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6187, allocations: 0.5414 MB / 0.7982 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/0.622, allocations: 0.7643 MB / 0.799 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.6276, allocations: 3.078 MB / 0.802 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.6287, allocations: 1.364 MB / 0.8033 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00154/0.6303, allocations: 413.9 kB / 0.8037 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.6306, allocations: 135.4 kB / 0.8039 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.6307, allocations: 0 / 0.8039 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of Templates: time 0.05606/0.6867, allocations: 31.67 MB / 0.8348 GB, free: 1.285 MB / 0.6544 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)