Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00109/0.00109, allocations: 109.8 kB / 16.41 MB, free: 6.027 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.001123/0.001123, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6635/0.6635, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 66.66 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1092, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04872/0.158, allocations: 53.68 MB / 0.6845 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.1804, allocations: 17 MB / 0.7011 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.1828, allocations: 87.5 kB / 0.7012 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.1876, allocations: 1.918 MB / 0.7031 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005473/0.1931, allocations: 2.514 MB / 0.7055 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.1978, allocations: 2.339 MB / 0.7078 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008976/0.2068, allocations: 7.543 MB / 0.7152 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.2092, allocations: 1.674 MB / 0.7168 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.213, allocations: 1.963 MB / 0.7187 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.2149, allocations: 1.427 MB / 0.7201 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.2151, allocations: 184 kB / 0.7203 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.2185, allocations: 2.02 MB / 0.7223 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.219, allocations: 0.6618 MB / 0.7229 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.2202, allocations: 1.224 MB / 0.7241 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.2248, allocations: 3.922 MB / 0.7279 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2248, allocations: 3.984 kB / 0.728 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2248, allocations: 0 / 0.728 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.2248, allocations: 0 / 0.728 GB, free: 1.918 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004224/0.229, allocations: 2.948 MB / 0.7308 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2291, allocations: 8.031 kB / 0.7308 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.2316, allocations: 0.555 MB / 0.7314 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.2356, allocations: 2.734 MB / 0.734 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.2357, allocations: 90.17 kB / 0.7341 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.2359, allocations: 132 kB / 0.7343 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.2383, allocations: 1.359 MB / 0.7356 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2384, allocations: 7.938 kB / 0.7356 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2385, allocations: 48 kB / 0.7356 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.2385, allocations: 38.08 kB / 0.7357 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.2411, allocations: 1.105 MB / 0.7368 GB, free: 8.633 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.008468/0.2496, allocations: 7.452 MB / 0.744 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2536/0.5032, allocations: 1.331 MB / 0.7453 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.5043, allocations: 431.2 kB / 0.7457 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/0.5093, allocations: 3.154 MB / 0.7488 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.5103, allocations: 433.3 kB / 0.7492 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.184e-06/0.5103, allocations: 0 / 0.7492 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002966/0.5133, allocations: 1.246 MB / 0.7505 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.5133, allocations: 59 kB / 0.7505 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.5161, allocations: 2.126 MB / 0.7526 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.5161, allocations: 39.61 kB / 0.7526 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/0.5168, allocations: 1.022 MB / 0.7536 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.517, allocations: 217.3 kB / 0.7538 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.5174, allocations: 315.4 kB / 0.7541 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.5174, allocations: 307.6 kB / 0.7544 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.5185, allocations: 0.5456 MB / 0.755 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.5198, allocations: 1.001 MB / 0.7559 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.5219, allocations: 1.444 MB / 0.7573 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5219, allocations: 6.125 kB / 0.7574 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003352/0.5252, allocations: 1.766 MB / 0.7591 GB, free: 99.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.5253, allocations: 37.62 kB / 0.7591 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.5253, allocations: 12.75 kB / 0.7591 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.034e-05/0.5254, allocations: 17.88 kB / 0.7591 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5265, allocations: 313.8 kB / 0.7594 GB, free: 99.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/0.5265, allocations: 25.89 kB / 0.7595 GB, free: 99.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.5277, allocations: 184 kB / 0.7596 GB, free: 99.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/0.5278, allocations: 61.02 kB / 0.7597 GB, free: 99.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001691/0.5295, allocations: 0.9735 MB / 0.7606 GB, free: 99.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001406/0.531, allocations: 0.9881 MB / 0.7616 GB, free: 98.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002047/0.533, allocations: 1.454 MB / 0.763 GB, free: 97.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.815e-06/0.533, allocations: 3.312 kB / 0.763 GB, free: 97.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002966/0.536, allocations: 1.762 MB / 0.7648 GB, free: 96.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.536, allocations: 41.02 kB / 0.7648 GB, free: 96.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5361, allocations: 15.25 kB / 0.7648 GB, free: 96.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.5361, allocations: 19.89 kB / 0.7648 GB, free: 96.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5371, allocations: 310.3 kB / 0.7651 GB, free: 96.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.5371, allocations: 31.22 kB / 0.7652 GB, free: 96.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.5383, allocations: 152.1 kB / 0.7653 GB, free: 96.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.5384, allocations: 65.86 kB / 0.7654 GB, free: 96.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0002606/0.5387, allocations: 256.9 kB / 0.7656 GB, free: 96.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5389, allocations: 197.1 kB / 0.7658 GB, free: 96.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.5412, allocations: 1.135 MB / 0.7669 GB, free: 95.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5413, allocations: 7.906 kB / 0.7669 GB, free: 95.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5413, allocations: 1.375 kB / 0.7669 GB, free: 95.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001707/0.543, allocations: 0.9578 MB / 0.7678 GB, free: 95.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.5468, allocations: 2.618 MB / 0.7704 GB, free: 94.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5468, allocations: 0 / 0.7704 GB, free: 94.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.5475, allocations: 151.3 kB / 0.7706 GB, free: 94.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.5476, allocations: 24.53 kB / 0.7706 GB, free: 94.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.5477, allocations: 23.66 kB / 0.7706 GB, free: 94.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006531/0.5483, allocations: 1.427 MB / 0.772 GB, free: 92.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5483, allocations: 0.5 kB / 0.772 GB, free: 92.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.551, allocations: 1.571 MB / 0.7735 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.5514, allocations: 399.8 kB / 0.7739 GB, free: 91.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.5516, allocations: 19.91 kB / 0.7739 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/0.5525, allocations: 72.89 kB / 0.774 GB, free: 91.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.5526, allocations: 48.19 kB / 0.774 GB, free: 91.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.5527, allocations: 31.47 kB / 0.7741 GB, free: 91.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001512/0.5542, allocations: 1.472 MB / 0.7755 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5542, allocations: 4 kB / 0.7755 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002173/0.5564, allocations: 1.029 MB / 0.7765 GB, free: 90.49 MB / 0.5762 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 (69): * Single equations (assignments): 60 * 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.00154/0.5579, allocations: 0.8723 MB / 0.7774 GB, free: 90.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.5612, allocations: 2.094 MB / 0.7794 GB, free: 88.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5612, allocations: 0 / 0.7794 GB, free: 88.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5623, allocations: 0.5452 MB / 0.7799 GB, free: 88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.5657, allocations: 0.9595 MB / 0.7809 GB, free: 87.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.5703, allocations: 3.607 MB / 0.7844 GB, free: 83.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.571, allocations: 1.542 MB / 0.7859 GB, free: 81.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001446/0.5725, allocations: 0.5228 MB / 0.7864 GB, free: 81.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.5728, allocations: 170.5 kB / 0.7866 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5728, allocations: 0 / 0.7866 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.04566/0.6185, allocations: 39.57 MB / 0.8252 GB, free: 42.13 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)