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.005021/0.00502, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001178/0.001178, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.32/1.32, 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.7475/0.7475, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 66.11 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1579, allocations: 80.2 MB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04931/0.2073, allocations: 53.27 MB / 0.7117 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.2299, allocations: 15.19 MB / 0.7266 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.2331, allocations: 87.5 kB / 0.7266 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.2368, allocations: 1.107 MB / 0.7277 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.2435, allocations: 2.334 MB / 0.73 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007511/0.251, allocations: 2.269 MB / 0.7322 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006893/0.258, allocations: 4.619 MB / 0.7367 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.2609, allocations: 1.643 MB / 0.7383 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.2658, allocations: 1.912 MB / 0.7402 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.2683, allocations: 1.349 MB / 0.7415 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004038/0.2687, allocations: 168 kB / 0.7417 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.2724, allocations: 1.841 MB / 0.7435 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005489/0.2729, allocations: 0.5217 MB / 0.744 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2741, allocations: 1.041 MB / 0.745 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.279, allocations: 3.343 MB / 0.7483 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.279, allocations: 4 kB / 0.7483 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2791, allocations: 0 / 0.7483 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.405e-05/0.2791, allocations: 0 / 0.7483 GB, free: 2.445 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.004155/0.2833, allocations: 2.596 MB / 0.7508 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2833, allocations: 15.97 kB / 0.7508 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.2853, allocations: 466.5 kB / 0.7513 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.2884, allocations: 1.691 MB / 0.7529 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.2884, allocations: 90.2 kB / 0.753 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.2886, allocations: 116 kB / 0.7531 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.291, allocations: 1.343 MB / 0.7544 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.291, allocations: 4 kB / 0.7544 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.2911, allocations: 44 kB / 0.7545 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.2912, allocations: 42 kB / 0.7545 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.2936, allocations: 1.085 MB / 0.7556 GB, free: 10.74 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.008496/0.3021, allocations: 7.085 MB / 0.7625 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.3045, allocations: 1.348 MB / 0.7638 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008989/0.3054, allocations: 425 kB / 0.7642 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004913/0.3103, allocations: 3.094 MB / 0.7672 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3114, allocations: 442.8 kB / 0.7677 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.345e-06/0.3114, allocations: 0 / 0.7677 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.003015/0.3144, allocations: 1.214 MB / 0.7688 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3145, allocations: 63.97 kB / 0.7689 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.3164, allocations: 1.533 MB / 0.7704 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.3165, allocations: 37.7 kB / 0.7704 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007039/0.3172, allocations: 0.9051 MB / 0.7713 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.3174, allocations: 226.1 kB / 0.7715 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.3177, allocations: 202.5 kB / 0.7717 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3179, allocations: 341.9 kB / 0.7721 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008915/0.3188, allocations: 380.6 kB / 0.7724 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.3199, allocations: 0.7553 MB / 0.7732 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.3219, allocations: 1.113 MB / 0.7742 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3219, allocations: 4 kB / 0.7742 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002867/0.3248, allocations: 1.302 MB / 0.7755 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.3249, allocations: 33.7 kB / 0.7755 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3249, allocations: 12 kB / 0.7756 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.3249, allocations: 16 kB / 0.7756 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/0.3259, allocations: 256.2 kB / 0.7758 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.3259, allocations: 23.92 kB / 0.7758 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3271, allocations: 143.9 kB / 0.776 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.3272, allocations: 51.98 kB / 0.776 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001385/0.3285, allocations: 0.662 MB / 0.7767 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.3297, allocations: 0.7437 MB / 0.7774 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001922/0.3316, allocations: 1.082 MB / 0.7785 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.091e-06/0.3316, allocations: 4 kB / 0.7785 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002675/0.3343, allocations: 1.275 MB / 0.7797 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.3343, allocations: 37.69 kB / 0.7797 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3344, allocations: 12 kB / 0.7798 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3344, allocations: 16 kB / 0.7798 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/0.3353, allocations: 251.6 kB / 0.78 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.3353, allocations: 31.94 kB / 0.78 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3363, allocations: 120.1 kB / 0.7802 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.3364, allocations: 51.98 kB / 0.7802 GB, free: 15.73 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.0002975/0.3367, allocations: 255.8 kB / 0.7804 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.337, allocations: 170.9 kB / 0.7806 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.3396, allocations: 1.104 MB / 0.7817 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.3396, allocations: 12 kB / 0.7817 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3396, allocations: 0 / 0.7817 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00184/0.3415, allocations: 0.9587 MB / 0.7826 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.3458, allocations: 2.409 MB / 0.785 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3458, allocations: 0 / 0.785 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.3465, allocations: 147.8 kB / 0.7851 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.3467, allocations: 24.84 kB / 0.7852 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.3468, allocations: 23.98 kB / 0.7852 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.3478, allocations: 1.418 MB / 0.7866 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3478, allocations: 12.08 kB / 0.7866 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.3509, allocations: 1.54 MB / 0.7881 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.3514, allocations: 347.7 kB / 0.7884 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3516, allocations: 27.92 kB / 0.7884 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/0.3524, allocations: 59.86 kB / 0.7885 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.3525, allocations: 48.5 kB / 0.7885 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.3526, allocations: 35.97 kB / 0.7886 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001397/0.354, allocations: 1.089 MB / 0.7896 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.354, allocations: 0 / 0.7896 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002119/0.3561, allocations: 0.8731 MB / 0.7905 GB, free: 4.836 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.001584/0.3577, allocations: 0.7405 MB / 0.7912 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003325/0.3611, allocations: 1.577 MB / 0.7927 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3611, allocations: 0 / 0.7927 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3622, allocations: 0.5347 MB / 0.7933 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.3652, allocations: 0.7683 MB / 0.794 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.3698, allocations: 3.089 MB / 0.797 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008673/0.3707, allocations: 1.364 MB / 0.7984 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001256/0.372, allocations: 409.6 kB / 0.7988 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.3723, allocations: 139.3 kB / 0.7989 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.3723, allocations: 0 / 0.7989 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of Templates: time 0.4117/0.784, allocations: 31.66 MB / 0.8298 GB, free: 138.3 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)