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.005993/0.005993, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001192/0.001192, allocations: 197.1 kB / 16.68 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8215/0.8215, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.12 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1487, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05617/0.2049, allocations: 53.27 MB / 0.7117 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.2293, allocations: 15.17 MB / 0.7265 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.2324, allocations: 91.5 kB / 0.7266 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.2361, allocations: 1.128 MB / 0.7277 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006748/0.2428, allocations: 2.44 MB / 0.7301 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006103/0.2489, allocations: 2.279 MB / 0.7323 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00675/0.2557, allocations: 4.635 MB / 0.7369 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003714/0.2594, allocations: 1.635 MB / 0.7385 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/0.266, allocations: 1.96 MB / 0.7404 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.2697, allocations: 1.357 MB / 0.7417 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009708/0.2707, allocations: 168 kB / 0.7419 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00602/0.2767, allocations: 1.837 MB / 0.7437 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.278, allocations: 0.5255 MB / 0.7442 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.2806, allocations: 1.034 MB / 0.7452 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006885/0.2875, allocations: 3.33 MB / 0.7484 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2875, allocations: 0 / 0.7484 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2875, allocations: 0 / 0.7484 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001191/0.2876, allocations: 4 kB / 0.7484 GB, free: 2.328 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.00594/0.2936, allocations: 2.521 MB / 0.7509 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2936, allocations: 8.031 kB / 0.7509 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.2958, allocations: 453.3 kB / 0.7513 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.299, allocations: 1.671 MB / 0.753 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.2991, allocations: 94.19 kB / 0.7531 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.2994, allocations: 116 kB / 0.7532 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.3019, allocations: 1.35 MB / 0.7545 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.3019, allocations: 0 / 0.7545 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.302, allocations: 44 kB / 0.7545 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/0.3021, allocations: 53.94 kB / 0.7546 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.3047, allocations: 1.074 MB / 0.7556 GB, free: 10.73 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.008686/0.3134, allocations: 7.076 MB / 0.7625 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.3158, allocations: 1.348 MB / 0.7639 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009248/0.3167, allocations: 418.8 kB / 0.7643 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005014/0.3217, allocations: 3.091 MB / 0.7673 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.3228, allocations: 438.8 kB / 0.7677 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.3228, allocations: 0 / 0.7677 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002996/0.3258, allocations: 1.205 MB / 0.7689 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3258, allocations: 63.91 kB / 0.7689 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.3278, allocations: 1.537 MB / 0.7704 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.3279, allocations: 41.7 kB / 0.7705 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006912/0.3286, allocations: 0.8878 MB / 0.7713 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.3288, allocations: 216.9 kB / 0.7715 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.3291, allocations: 202.4 kB / 0.7717 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3292, allocations: 345.9 kB / 0.7721 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.3301, allocations: 376.6 kB / 0.7724 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3313, allocations: 0.7553 MB / 0.7732 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.3333, allocations: 1.113 MB / 0.7742 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3333, allocations: 0 / 0.7742 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002717/0.3361, allocations: 1.302 MB / 0.7755 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.3361, allocations: 39.89 kB / 0.7756 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3361, allocations: 8 kB / 0.7756 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.3362, allocations: 20 kB / 0.7756 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.3372, allocations: 251.7 kB / 0.7758 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.3372, allocations: 27.92 kB / 0.7759 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3382, allocations: 131.7 kB / 0.776 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.3383, allocations: 55.97 kB / 0.776 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001375/0.3397, allocations: 0.6659 MB / 0.7767 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001124/0.3409, allocations: 0.7436 MB / 0.7774 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001965/0.3428, allocations: 1.078 MB / 0.7785 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.294e-06/0.3429, allocations: 4 kB / 0.7785 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00263/0.3455, allocations: 1.262 MB / 0.7797 GB, free: 308 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.3456, allocations: 41.7 kB / 0.7797 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3456, allocations: 8 kB / 0.7797 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3456, allocations: 19.98 kB / 0.7798 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.3466, allocations: 248.3 kB / 0.78 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.3466, allocations: 23.88 kB / 0.78 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.3477, allocations: 127.9 kB / 0.7801 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/0.3478, allocations: 47.98 kB / 0.7802 GB, free: 15.79 MB / 0.6231 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.0002707/0.3481, allocations: 258.6 kB / 0.7804 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.3483, allocations: 161.9 kB / 0.7806 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.3509, allocations: 1.108 MB / 0.7817 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.3509, allocations: 12 kB / 0.7817 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.351, allocations: 0 / 0.7817 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001848/0.3528, allocations: 0.9548 MB / 0.7826 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.3572, allocations: 2.405 MB / 0.785 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3572, allocations: 3.938 kB / 0.785 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.358, allocations: 139.8 kB / 0.7851 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.3581, allocations: 32.91 kB / 0.7851 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.3582, allocations: 19.98 kB / 0.7852 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3594, allocations: 1.414 MB / 0.7865 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3594, allocations: 7.969 kB / 0.7865 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.3626, allocations: 1.535 MB / 0.788 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.3633, allocations: 346.6 kB / 0.7884 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.3634, allocations: 19.92 kB / 0.7884 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.3642, allocations: 56.08 kB / 0.7884 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.3644, allocations: 56.48 kB / 0.7885 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.3645, allocations: 31.95 kB / 0.7885 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001555/0.366, allocations: 1.089 MB / 0.7896 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.366, allocations: 4 kB / 0.7896 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002263/0.3683, allocations: 0.8653 MB / 0.7904 GB, free: 4.926 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.001751/0.3701, allocations: 0.7371 MB / 0.7912 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.3735, allocations: 1.574 MB / 0.7927 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3735, allocations: 4.188 kB / 0.7927 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.3746, allocations: 0.5408 MB / 0.7932 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.3777, allocations: 0.7688 MB / 0.794 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.3828, allocations: 3.035 MB / 0.7969 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.3837, allocations: 1.356 MB / 0.7983 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001356/0.3851, allocations: 413.8 kB / 0.7987 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.3854, allocations: 131.4 kB / 0.7988 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.3854, allocations: 0 / 0.7988 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.368/0.7534, allocations: 31.66 MB / 0.8297 GB, free: 138.9 MB / 0.6387 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)