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.001246/0.001247, allocations: 106.4 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.001262/0.001263, allocations: 187 kB / 17.34 MB, free: 5.758 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7255/0.7255, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.22 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05129/0.1811, allocations: 53.27 MB / 0.7173 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.2022, allocations: 15.18 MB / 0.7322 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.205, allocations: 87.5 kB / 0.7322 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.2084, allocations: 1.128 MB / 0.7333 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006209/0.2146, allocations: 2.328 MB / 0.7356 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.2199, allocations: 2.274 MB / 0.7378 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006545/0.2265, allocations: 4.617 MB / 0.7424 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.2292, allocations: 1.631 MB / 0.7439 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/0.2336, allocations: 1.952 MB / 0.7459 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.2358, allocations: 1.361 MB / 0.7472 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004761/0.2363, allocations: 168 kB / 0.7473 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3093/0.5456, allocations: 1.836 MB / 0.7491 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008986/0.5466, allocations: 0.518 MB / 0.7496 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.5481, allocations: 1.037 MB / 0.7507 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005686/0.5538, allocations: 3.331 MB / 0.7539 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.5539, allocations: 2.281 kB / 0.7539 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5539, allocations: 0 / 0.7539 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.066e-05/0.5539, allocations: 0 / 0.7539 GB, free: 10.44 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.004654/0.5586, allocations: 2.515 MB / 0.7564 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5586, allocations: 15.05 kB / 0.7564 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.5608, allocations: 454 kB / 0.7568 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.5641, allocations: 1.679 MB / 0.7585 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-05/0.5642, allocations: 88.92 kB / 0.7585 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.5644, allocations: 121.6 kB / 0.7587 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.5671, allocations: 1.339 MB / 0.76 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.5672, allocations: 4.312 kB / 0.76 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5673, allocations: 46.84 kB / 0.76 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/0.5674, allocations: 45.31 kB / 0.7601 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.5702, allocations: 1.076 MB / 0.7611 GB, free: 8.309 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.00842/0.5786, allocations: 7.075 MB / 0.768 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.5807, allocations: 1.348 MB / 0.7693 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.5816, allocations: 417.4 kB / 0.7697 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004781/0.5863, allocations: 3.095 MB / 0.7727 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009699/0.5873, allocations: 435.6 kB / 0.7732 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.996e-06/0.5873, allocations: 3.938 kB / 0.7732 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002865/0.5902, allocations: 1.211 MB / 0.7743 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5903, allocations: 58.12 kB / 0.7744 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.5921, allocations: 1.538 MB / 0.7759 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.5922, allocations: 39.33 kB / 0.7759 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.5928, allocations: 0.8823 MB / 0.7768 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5929, allocations: 216.7 kB / 0.777 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.5932, allocations: 211.7 kB / 0.7772 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.5934, allocations: 343.9 kB / 0.7775 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.5942, allocations: 380.6 kB / 0.7779 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.5952, allocations: 0.7493 MB / 0.7786 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.597, allocations: 1.111 MB / 0.7797 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.597, allocations: 2.469 kB / 0.7797 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002512/0.5995, allocations: 1.285 MB / 0.781 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.5996, allocations: 38.2 kB / 0.781 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.5996, allocations: 15.25 kB / 0.781 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.5996, allocations: 21.19 kB / 0.7811 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/0.6005, allocations: 251.9 kB / 0.7813 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.6006, allocations: 21.58 kB / 0.7813 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.6017, allocations: 139.9 kB / 0.7814 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.6017, allocations: 58.97 kB / 0.7815 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.603, allocations: 0.6639 MB / 0.7821 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009409/0.604, allocations: 0.7365 MB / 0.7829 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001666/0.6057, allocations: 1.091 MB / 0.7839 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/0.6057, allocations: 2.375 kB / 0.7839 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002309/0.608, allocations: 1.253 MB / 0.7852 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.608, allocations: 40.52 kB / 0.7852 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6081, allocations: 11.06 kB / 0.7852 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6081, allocations: 14.34 kB / 0.7852 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.6089, allocations: 264.3 kB / 0.7855 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.6089, allocations: 23.03 kB / 0.7855 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009857/0.6099, allocations: 115 kB / 0.7856 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.61, allocations: 52.11 kB / 0.7857 GB, free: 13.79 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.000281/0.6103, allocations: 249.8 kB / 0.7859 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.6105, allocations: 163.2 kB / 0.7861 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.6129, allocations: 1.111 MB / 0.7871 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6129, allocations: 11.41 kB / 0.7871 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6129, allocations: 4 kB / 0.7872 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/0.6146, allocations: 0.9578 MB / 0.7881 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/0.6186, allocations: 2.41 MB / 0.7904 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6186, allocations: 0 / 0.7904 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.6192, allocations: 142.1 kB / 0.7906 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.6194, allocations: 30.8 kB / 0.7906 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.6195, allocations: 18.86 kB / 0.7906 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.6205, allocations: 1.424 MB / 0.792 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6205, allocations: 0 / 0.792 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.6233, allocations: 1.545 MB / 0.7935 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.6238, allocations: 341.2 kB / 0.7938 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.624, allocations: 13.84 kB / 0.7939 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/0.6248, allocations: 59.5 kB / 0.7939 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.6249, allocations: 56.56 kB / 0.794 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.625, allocations: 33.34 kB / 0.794 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001242/0.6262, allocations: 1.09 MB / 0.7951 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6262, allocations: 0 / 0.7951 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002241/0.6285, allocations: 0.8591 MB / 0.7959 GB, free: 10.59 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.001542/0.63, allocations: 0.7398 MB / 0.7966 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.633, allocations: 1.578 MB / 0.7982 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.633, allocations: 0.5938 kB / 0.7982 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6341, allocations: 0.5405 MB / 0.7987 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.6367, allocations: 0.7624 MB / 0.7994 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.6414, allocations: 3.107 MB / 0.8025 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.6422, allocations: 1.357 MB / 0.8038 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.6426, allocations: 146.5 kB / 0.8039 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.6426, allocations: 4 kB / 0.8039 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.04333/0.6859, allocations: 33.69 MB / 0.8368 GB, free: 12.32 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)