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.005831/0.005831, allocations: 100.7 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.001243/0.001243, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7545/0.7545, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.5814 GB, free: 7.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3925, allocations: 80.2 MB / 0.6597 GB, free: 10.28 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.04921/0.4418, allocations: 53.27 MB / 0.7117 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.4633, allocations: 15.19 MB / 0.7266 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.4667, allocations: 91.5 kB / 0.7266 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.4698, allocations: 1.122 MB / 0.7277 GB, free: 416 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006508/0.4763, allocations: 2.447 MB / 0.7301 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.4818, allocations: 2.269 MB / 0.7323 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006466/0.4882, allocations: 4.634 MB / 0.7369 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.4908, allocations: 1.633 MB / 0.7385 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.4955, allocations: 1.959 MB / 0.7404 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.4972, allocations: 1.353 MB / 0.7417 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.4975, allocations: 168 kB / 0.7419 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.5009, allocations: 1.837 MB / 0.7436 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.5014, allocations: 0.5216 MB / 0.7442 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.5025, allocations: 1.041 MB / 0.7452 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.5074, allocations: 3.322 MB / 0.7484 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5074, allocations: 0 / 0.7484 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5074, allocations: 0 / 0.7484 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.5075, allocations: 0 / 0.7484 GB, free: 11.16 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.004091/0.5116, allocations: 2.529 MB / 0.7509 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5116, allocations: 8.031 kB / 0.7509 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.5136, allocations: 453.3 kB / 0.7513 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.5164, allocations: 1.682 MB / 0.753 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.5165, allocations: 90.2 kB / 0.7531 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.5167, allocations: 120 kB / 0.7532 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5192, allocations: 1.346 MB / 0.7545 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.5192, allocations: 4 kB / 0.7545 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.5193, allocations: 48 kB / 0.7545 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.5194, allocations: 53.88 kB / 0.7546 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.5218, allocations: 1.077 MB / 0.7556 GB, free: 3.539 MB / 0.5762 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.008131/0.53, allocations: 7.064 MB / 0.7625 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.5323, allocations: 1.356 MB / 0.7639 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009222/0.5332, allocations: 414.9 kB / 0.7643 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004682/0.5379, allocations: 3.094 MB / 0.7673 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.5389, allocations: 438.8 kB / 0.7677 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.539, allocations: 0 / 0.7677 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.00301/0.542, allocations: 1.205 MB / 0.7689 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.542, allocations: 59.97 kB / 0.7689 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.5438, allocations: 1.529 MB / 0.7704 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.5439, allocations: 45.7 kB / 0.7705 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.5446, allocations: 0.88 MB / 0.7713 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.5447, allocations: 212.9 kB / 0.7715 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.545, allocations: 210.4 kB / 0.7717 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5451, allocations: 345.9 kB / 0.7721 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/0.546, allocations: 376.6 kB / 0.7724 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.5472, allocations: 0.7553 MB / 0.7732 GB, free: 348 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.5492, allocations: 1.113 MB / 0.7742 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5492, allocations: 0 / 0.7742 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002767/0.552, allocations: 1.29 MB / 0.7755 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.552, allocations: 49.78 kB / 0.7756 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5521, allocations: 8 kB / 0.7756 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.5521, allocations: 16 kB / 0.7756 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.5531, allocations: 255.6 kB / 0.7758 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.5531, allocations: 23.92 kB / 0.7758 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.5541, allocations: 127.7 kB / 0.776 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.5542, allocations: 51.98 kB / 0.776 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00136/0.5556, allocations: 0.6737 MB / 0.7767 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001118/0.5567, allocations: 0.7358 MB / 0.7774 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001947/0.5587, allocations: 1.086 MB / 0.7784 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.181e-06/0.5587, allocations: 4 kB / 0.7785 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002508/0.5612, allocations: 1.258 MB / 0.7797 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.5612, allocations: 40.39 kB / 0.7797 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5613, allocations: 11.94 kB / 0.7797 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5613, allocations: 19.94 kB / 0.7798 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/0.5623, allocations: 260 kB / 0.78 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.5623, allocations: 31.91 kB / 0.78 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.5633, allocations: 123.9 kB / 0.7801 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.5634, allocations: 51.98 kB / 0.7802 GB, free: 8.602 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.000264/0.5636, allocations: 251.8 kB / 0.7804 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.5639, allocations: 161.9 kB / 0.7806 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.5665, allocations: 1.102 MB / 0.7817 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.5665, allocations: 12 kB / 0.7817 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5665, allocations: 0 / 0.7817 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001894/0.5684, allocations: 0.9587 MB / 0.7826 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/0.5727, allocations: 2.409 MB / 0.785 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5727, allocations: 0 / 0.785 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/0.5735, allocations: 143.8 kB / 0.7851 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.5736, allocations: 28.91 kB / 0.7851 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.5737, allocations: 23.98 kB / 0.7852 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009983/0.5747, allocations: 1.418 MB / 0.7865 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5747, allocations: 7.969 kB / 0.7865 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.5778, allocations: 1.535 MB / 0.788 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/0.5784, allocations: 342.6 kB / 0.7884 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.5786, allocations: 23.92 kB / 0.7884 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.5795, allocations: 51.95 kB / 0.7884 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.5796, allocations: 56.48 kB / 0.7885 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.5797, allocations: 27.97 kB / 0.7885 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001499/0.5812, allocations: 1.089 MB / 0.7896 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5812, allocations: 4 kB / 0.7896 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0022/0.5834, allocations: 0.8653 MB / 0.7904 GB, free: 13.75 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.00166/0.5851, allocations: 0.735 MB / 0.7912 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.5886, allocations: 1.578 MB / 0.7927 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5886, allocations: 448 / 0.7927 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.5898, allocations: 0.537 MB / 0.7932 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.5929, allocations: 0.7653 MB / 0.794 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.5978, allocations: 3.027 MB / 0.7969 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008424/0.5986, allocations: 1.356 MB / 0.7982 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001382/0.6, allocations: 413.3 kB / 0.7986 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.6004, allocations: 139.3 kB / 0.7988 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.6004, allocations: 0 / 0.7988 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of Templates: time 0.05186/0.6522, allocations: 31.67 MB / 0.8297 GB, free: 6.062 MB / 0.6544 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)