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.001463/0.001463, allocations: 116.7 kB / 16.37 MB, free: 6.012 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.001467/0.001467, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3226, allocations: 80.19 MB / 0.5815 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04205/0.3646, allocations: 53.26 MB / 0.6335 GB, free: 9.012 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.3855, allocations: 15.18 MB / 0.6483 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.3877, allocations: 95.5 kB / 0.6484 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.3905, allocations: 1.12 MB / 0.6495 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.3955, allocations: 2.343 MB / 0.6518 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004846/0.4003, allocations: 2.264 MB / 0.654 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005032/0.4054, allocations: 4.625 MB / 0.6585 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.4072, allocations: 1.631 MB / 0.6601 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.4105, allocations: 1.906 MB / 0.662 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.4119, allocations: 1.357 MB / 0.6633 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.4122, allocations: 171.9 kB / 0.6635 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.4152, allocations: 1.837 MB / 0.6653 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.4157, allocations: 0.5177 MB / 0.6658 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008972/0.4166, allocations: 1.041 MB / 0.6668 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.4201, allocations: 3.322 MB / 0.67 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4201, allocations: 0 / 0.67 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4201, allocations: 0 / 0.67 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.4201, allocations: 0 / 0.67 GB, free: 3.504 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.003828/0.424, allocations: 2.529 MB / 0.6725 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.424, allocations: 8.031 kB / 0.6725 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.426, allocations: 453.5 kB / 0.673 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.429, allocations: 1.675 MB / 0.6746 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.4291, allocations: 86.2 kB / 0.6747 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.4293, allocations: 124 kB / 0.6748 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.4316, allocations: 1.343 MB / 0.6761 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.4317, allocations: 3.938 kB / 0.6761 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4318, allocations: 48 kB / 0.6761 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.4318, allocations: 46 kB / 0.6762 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.4343, allocations: 1.074 MB / 0.6772 GB, free: 11.9 MB / 0.5137 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.008307/0.4427, allocations: 7.08 MB / 0.6842 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.445, allocations: 1.352 MB / 0.6855 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/0.4459, allocations: 422.9 kB / 0.6859 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004791/0.4507, allocations: 3.078 MB / 0.6889 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009994/0.4517, allocations: 442.9 kB / 0.6893 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.4517, allocations: 0 / 0.6893 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.002935/0.4547, allocations: 1.201 MB / 0.6905 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4547, allocations: 67.91 kB / 0.6905 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.4565, allocations: 1.541 MB / 0.692 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.4565, allocations: 41.7 kB / 0.6921 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.4572, allocations: 0.8762 MB / 0.6929 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.4574, allocations: 216.9 kB / 0.6931 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.4577, allocations: 202.4 kB / 0.6933 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4578, allocations: 341.9 kB / 0.6937 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.4587, allocations: 392.5 kB / 0.694 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4598, allocations: 0.7398 MB / 0.6948 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.4618, allocations: 1.125 MB / 0.6959 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.4618, allocations: 4 kB / 0.6959 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002518/0.4643, allocations: 1.286 MB / 0.6971 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.4644, allocations: 41.64 kB / 0.6972 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.4644, allocations: 12 kB / 0.6972 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4644, allocations: 16 kB / 0.6972 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.4654, allocations: 256.2 kB / 0.6974 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.4655, allocations: 23.92 kB / 0.6975 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/0.4664, allocations: 135.6 kB / 0.6976 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/0.4665, allocations: 59.95 kB / 0.6976 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.4678, allocations: 0.6665 MB / 0.6983 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.4689, allocations: 0.7397 MB / 0.699 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001995/0.4709, allocations: 1.082 MB / 0.7001 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.087e-06/0.4709, allocations: 0 / 0.7001 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002441/0.4734, allocations: 1.266 MB / 0.7013 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.4734, allocations: 41.83 kB / 0.7013 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4734, allocations: 8 kB / 0.7014 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4734, allocations: 20 kB / 0.7014 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009525/0.4744, allocations: 247.6 kB / 0.7016 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.4744, allocations: 23.92 kB / 0.7016 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/0.4753, allocations: 120 kB / 0.7017 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.4754, allocations: 51.98 kB / 0.7018 GB, free: 0.9453 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 (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.0002172/0.4757, allocations: 251.9 kB / 0.702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4759, allocations: 165.9 kB / 0.7022 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.4783, allocations: 1.111 MB / 0.7033 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4783, allocations: 4 kB / 0.7033 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4784, allocations: 8 kB / 0.7033 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001845/0.4802, allocations: 0.9587 MB / 0.7042 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.4843, allocations: 2.412 MB / 0.7066 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4843, allocations: 3.938 kB / 0.7066 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.485, allocations: 143.9 kB / 0.7067 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.4852, allocations: 24.84 kB / 0.7068 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.4853, allocations: 19.98 kB / 0.7068 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009831/0.4863, allocations: 1.419 MB / 0.7082 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4863, allocations: 160 / 0.7082 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.4893, allocations: 1.535 MB / 0.7097 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.4898, allocations: 346.6 kB / 0.71 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.49, allocations: 19.98 kB / 0.71 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.4907, allocations: 59.83 kB / 0.7101 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4909, allocations: 52.48 kB / 0.7101 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.4909, allocations: 35.91 kB / 0.7101 GB, free: 8.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001292/0.4922, allocations: 1.097 MB / 0.7112 GB, free: 6.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4923, allocations: 0 / 0.7112 GB, free: 6.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00192/0.4942, allocations: 0.8576 MB / 0.7121 GB, free: 6.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 (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.001551/0.4957, allocations: 0.7279 MB / 0.7128 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.4989, allocations: 1.585 MB / 0.7143 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4989, allocations: 0 / 0.7143 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.5, allocations: 0.5383 MB / 0.7148 GB, free: 3.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.5027, allocations: 0.7668 MB / 0.7156 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.5073, allocations: 3.023 MB / 0.7185 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008619/0.5082, allocations: 1.36 MB / 0.7199 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001272/0.5095, allocations: 420.8 kB / 0.7203 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.5098, allocations: 135.4 kB / 0.7204 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.5098, allocations: 0 / 0.7204 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.2785/0.7883, allocations: 31.46 MB / 0.7511 GB, free: 156 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)