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.001362/0.001362, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001299/0.001299, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8084/0.8084, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.38 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1567, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05466/0.2114, allocations: 53.26 MB / 0.7124 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.2328, allocations: 15.18 MB / 0.7272 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.2363, allocations: 87.5 kB / 0.7273 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.2398, allocations: 1.109 MB / 0.7284 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.2467, allocations: 2.346 MB / 0.7307 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005846/0.2525, allocations: 2.268 MB / 0.7329 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006349/0.2589, allocations: 4.615 MB / 0.7374 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.2619, allocations: 1.635 MB / 0.739 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004806/0.2667, allocations: 1.919 MB / 0.7409 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.2694, allocations: 1.361 MB / 0.7422 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006674/0.27, allocations: 164 kB / 0.7423 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.2743, allocations: 1.837 MB / 0.7441 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009184/0.2752, allocations: 0.5177 MB / 0.7446 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.2772, allocations: 1.041 MB / 0.7457 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4745/0.7517, allocations: 3.317 MB / 0.7489 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.7518, allocations: 0.5312 kB / 0.7489 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7518, allocations: 0 / 0.7489 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001115/0.7519, allocations: 0.875 kB / 0.7489 GB, free: 15.2 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.005782/0.7577, allocations: 2.52 MB / 0.7514 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7578, allocations: 10.81 kB / 0.7514 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.7601, allocations: 452.7 kB / 0.7518 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.764, allocations: 1.679 MB / 0.7534 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.7641, allocations: 89.36 kB / 0.7535 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.7644, allocations: 117.2 kB / 0.7536 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.7674, allocations: 1.344 MB / 0.7549 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.7674, allocations: 4.625 kB / 0.7549 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.7675, allocations: 49.91 kB / 0.755 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/0.7676, allocations: 40.61 kB / 0.755 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.7705, allocations: 1.077 MB / 0.7561 GB, free: 13.21 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.01097/0.7815, allocations: 7.07 MB / 0.763 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.784, allocations: 1.345 MB / 0.7643 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.785, allocations: 421.9 kB / 0.7647 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005837/0.7908, allocations: 3.096 MB / 0.7677 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.792, allocations: 437.1 kB / 0.7681 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.687e-06/0.792, allocations: 0 / 0.7681 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003393/0.7954, allocations: 1.209 MB / 0.7693 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7954, allocations: 60.42 kB / 0.7694 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.7988, allocations: 1.537 MB / 0.7709 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.799, allocations: 42.56 kB / 0.7709 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008862/0.7999, allocations: 0.8857 MB / 0.7718 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.8003, allocations: 212 kB / 0.772 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/0.8008, allocations: 207.2 kB / 0.7722 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.8009, allocations: 343.4 kB / 0.7725 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.8019, allocations: 382.5 kB / 0.7729 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.8033, allocations: 0.7511 MB / 0.7736 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.8055, allocations: 1.115 MB / 0.7747 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/0.8055, allocations: 3.875 kB / 0.7747 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003318/0.8088, allocations: 1.281 MB / 0.776 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.8089, allocations: 42.61 kB / 0.776 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.8089, allocations: 11.09 kB / 0.776 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.506e-05/0.809, allocations: 20.31 kB / 0.776 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.81, allocations: 257 kB / 0.7763 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/0.81, allocations: 20.97 kB / 0.7763 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.8116, allocations: 140.6 kB / 0.7764 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.8117, allocations: 54.19 kB / 0.7765 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001592/0.8133, allocations: 0.6693 MB / 0.7771 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/0.8145, allocations: 0.7403 MB / 0.7779 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002014/0.8165, allocations: 1.083 MB / 0.7789 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.706e-05/0.8165, allocations: 3.938 kB / 0.7789 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003089/0.8196, allocations: 1.256 MB / 0.7801 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.8197, allocations: 37.33 kB / 0.7802 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.8197, allocations: 20.92 kB / 0.7802 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8197, allocations: 16.5 kB / 0.7802 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/0.8207, allocations: 253 kB / 0.7805 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/0.8207, allocations: 21.98 kB / 0.7805 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8222, allocations: 117 kB / 0.7806 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.8223, allocations: 54.34 kB / 0.7806 GB, free: 2.707 MB / 0.5762 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.0003738/0.8227, allocations: 255.5 kB / 0.7809 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/0.8233, allocations: 161.4 kB / 0.781 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.8261, allocations: 1.114 MB / 0.7821 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.8262, allocations: 10.3 kB / 0.7821 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8262, allocations: 1.188 kB / 0.7821 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001881/0.8281, allocations: 0.9587 MB / 0.7831 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005578/0.8337, allocations: 2.403 MB / 0.7854 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.8337, allocations: 0 / 0.7854 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.8344, allocations: 147.3 kB / 0.7856 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.8346, allocations: 26.47 kB / 0.7856 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.8347, allocations: 24.58 kB / 0.7856 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.8359, allocations: 1.414 MB / 0.787 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8359, allocations: 0 / 0.787 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.8393, allocations: 1.542 MB / 0.7885 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.8405, allocations: 349.3 kB / 0.7888 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005244/0.841, allocations: 14.28 kB / 0.7888 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.8422, allocations: 58.11 kB / 0.7889 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.8423, allocations: 58.28 kB / 0.789 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/0.8425, allocations: 28.22 kB / 0.789 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002004/0.8445, allocations: 1.094 MB / 0.7901 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.92e-07/0.8445, allocations: 2.5 kB / 0.7901 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003353/0.8478, allocations: 0.8637 MB / 0.7909 GB, free: 15.5 MB / 0.5919 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.002058/0.8499, allocations: 0.7296 MB / 0.7916 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004098/0.854, allocations: 1.58 MB / 0.7932 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.8541, allocations: 1.312 kB / 0.7932 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.8556, allocations: 0.5366 MB / 0.7937 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004219/0.8598, allocations: 0.7727 MB / 0.7944 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.8662, allocations: 3.102 MB / 0.7975 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.8675, allocations: 1.358 MB / 0.7988 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/0.8682, allocations: 146.1 kB / 0.7989 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.304e-06/0.8682, allocations: 0 / 0.7989 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.0511/0.9193, allocations: 33.23 MB / 0.8314 GB, free: 3.223 MB / 0.6075 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)