Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001155/0.001155, allocations: 113.1 kB / 16.41 MB, free: 6.484 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.001335/0.001335, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.814/0.814, allocations: 135.1 MB / 426.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.2 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 80.92 MB / 0.6653 GB, free: 5.715 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.05509/0.2187, allocations: 53.26 MB / 0.7173 GB, free: 268 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.2422, allocations: 15.19 MB / 0.7322 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.2459, allocations: 87.5 kB / 0.7323 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003885/0.2498, allocations: 1.119 MB / 0.7333 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007796/0.2576, allocations: 2.332 MB / 0.7356 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.2641, allocations: 2.277 MB / 0.7378 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007629/0.2718, allocations: 4.616 MB / 0.7424 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.2752, allocations: 1.631 MB / 0.7439 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.2807, allocations: 1.945 MB / 0.7458 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.2835, allocations: 1.369 MB / 0.7472 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007596/0.2843, allocations: 168 kB / 0.7473 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4225/0.7068, allocations: 1.834 MB / 0.7491 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.7081, allocations: 0.5161 MB / 0.7496 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.7103, allocations: 1.039 MB / 0.7507 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007768/0.7181, allocations: 3.332 MB / 0.7539 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.7182, allocations: 0 / 0.7539 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7182, allocations: 1 kB / 0.7539 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.475e-05/0.7183, allocations: 1.25 kB / 0.7539 GB, free: 10.48 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.006282/0.7245, allocations: 2.511 MB / 0.7564 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.7246, allocations: 14.62 kB / 0.7564 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.7274, allocations: 458 kB / 0.7568 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005154/0.7326, allocations: 1.68 MB / 0.7585 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.7328, allocations: 89.59 kB / 0.7585 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000417/0.7332, allocations: 118.3 kB / 0.7587 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.7368, allocations: 1.341 MB / 0.76 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.7369, allocations: 5.594 kB / 0.76 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.737, allocations: 49.38 kB / 0.76 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.355e-05/0.7371, allocations: 41.41 kB / 0.7601 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003314/0.7404, allocations: 1.074 MB / 0.7611 GB, free: 8.352 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.01045/0.7509, allocations: 7.075 MB / 0.768 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.7533, allocations: 1.351 MB / 0.7693 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009291/0.7543, allocations: 417.3 kB / 0.7697 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006056/0.7603, allocations: 3.094 MB / 0.7727 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.7615, allocations: 435.7 kB / 0.7732 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.657e-06/0.7615, allocations: 3.938 kB / 0.7732 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003387/0.7649, allocations: 1.211 MB / 0.7744 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.765, allocations: 59.31 kB / 0.7744 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.7674, allocations: 1.534 MB / 0.7759 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.7675, allocations: 41.95 kB / 0.7759 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007378/0.7683, allocations: 0.8833 MB / 0.7768 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.7685, allocations: 218.4 kB / 0.777 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.7688, allocations: 208.7 kB / 0.7772 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.769, allocations: 343.1 kB / 0.7775 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.77, allocations: 377.3 kB / 0.7779 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.7711, allocations: 0.7557 MB / 0.7786 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.7731, allocations: 1.114 MB / 0.7797 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/0.7731, allocations: 3.125 kB / 0.7797 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003168/0.7763, allocations: 1.28 MB / 0.781 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.7764, allocations: 40.5 kB / 0.781 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.7764, allocations: 15.09 kB / 0.781 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.03e-05/0.7765, allocations: 20.44 kB / 0.7811 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7775, allocations: 254.4 kB / 0.7813 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/0.7775, allocations: 26.48 kB / 0.7813 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.7791, allocations: 138.3 kB / 0.7815 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7792, allocations: 56.91 kB / 0.7815 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001692/0.7809, allocations: 0.6679 MB / 0.7822 GB, free: 15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001112/0.782, allocations: 0.7389 MB / 0.7829 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002007/0.784, allocations: 1.086 MB / 0.7839 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.096e-05/0.7841, allocations: 4.969 kB / 0.7839 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003025/0.7871, allocations: 1.257 MB / 0.7852 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.7871, allocations: 35.33 kB / 0.7852 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.7872, allocations: 12 kB / 0.7852 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7872, allocations: 15.47 kB / 0.7852 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.7881, allocations: 257.2 kB / 0.7855 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/0.7882, allocations: 27.03 kB / 0.7855 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.7896, allocations: 121.5 kB / 0.7856 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.7897, allocations: 52.45 kB / 0.7857 GB, free: 13.84 MB / 0.5919 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.0004351/0.7902, allocations: 240.3 kB / 0.7859 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.7905, allocations: 161.8 kB / 0.7861 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.7933, allocations: 1.114 MB / 0.7871 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.7933, allocations: 11.69 kB / 0.7872 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7933, allocations: 4 kB / 0.7872 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001855/0.7952, allocations: 0.9581 MB / 0.7881 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/0.8, allocations: 2.407 MB / 0.7904 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.8, allocations: 2.062 kB / 0.7904 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.8007, allocations: 141.7 kB / 0.7906 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.8009, allocations: 30.69 kB / 0.7906 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.801, allocations: 21.89 kB / 0.7906 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.8021, allocations: 1.418 MB / 0.792 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8022, allocations: 0.9844 kB / 0.792 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.8055, allocations: 1.542 MB / 0.7935 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008683/0.8064, allocations: 343.4 kB / 0.7939 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.8066, allocations: 14.06 kB / 0.7939 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.8074, allocations: 61.45 kB / 0.7939 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.8076, allocations: 60.81 kB / 0.794 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.8076, allocations: 24.61 kB / 0.794 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001652/0.8093, allocations: 1.095 MB / 0.7951 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8093, allocations: 0 / 0.7951 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002838/0.8121, allocations: 0.8577 MB / 0.7959 GB, free: 10.63 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.001991/0.8141, allocations: 0.7444 MB / 0.7966 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003571/0.8177, allocations: 1.584 MB / 0.7982 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8177, allocations: 2.656 kB / 0.7982 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.819, allocations: 0.5329 MB / 0.7987 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.8228, allocations: 0.7547 MB / 0.7994 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.8292, allocations: 3.102 MB / 0.8025 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.8306, allocations: 1.361 MB / 0.8038 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.8313, allocations: 151.3 kB / 0.8039 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of SimCode: time 1.713e-06/0.8313, allocations: 0 / 0.8039 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of Templates: time 0.0553/0.8866, allocations: 33.42 MB / 0.8366 GB, free: 12.57 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)