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.001239/0.001239, allocations: 102.9 kB / 16.27 MB, free: 5.984 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.001252/0.001252, allocations: 188.4 kB / 17.19 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7598/0.7598, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3532, allocations: 77.92 MB / 0.5672 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04613/0.3994, allocations: 53.68 MB / 0.6196 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.4239, allocations: 17.02 MB / 0.6362 GB, free: 3.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.4269, allocations: 91.5 kB / 0.6363 GB, free: 3.887 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008837/0.4358, allocations: 4.35 MB / 0.6406 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009563/0.4454, allocations: 2.404 MB / 0.6429 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007851/0.4533, allocations: 2.282 MB / 0.6451 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.4678, allocations: 7.418 MB / 0.6524 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/0.4718, allocations: 1.643 MB / 0.654 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006263/0.4781, allocations: 1.883 MB / 0.6558 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.4816, allocations: 1.4 MB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.4827, allocations: 172 kB / 0.6574 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006202/0.4889, allocations: 2.008 MB / 0.6593 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.4903, allocations: 0.6501 MB / 0.6599 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.4933, allocations: 1.212 MB / 0.6611 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008302/0.5016, allocations: 3.844 MB / 0.6649 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5016, allocations: 0 / 0.6649 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5016, allocations: 0 / 0.6649 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001402/0.5018, allocations: 4 kB / 0.6649 GB, free: 6.547 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006564/0.5084, allocations: 2.932 MB / 0.6678 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5084, allocations: 12.62 kB / 0.6678 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.5114, allocations: 0.5472 MB / 0.6683 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.5163, allocations: 2.606 MB / 0.6708 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004325/0.5168, allocations: 154.1 kB / 0.671 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.517, allocations: 124 kB / 0.6711 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.5198, allocations: 1.363 MB / 0.6724 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.5198, allocations: 7.875 kB / 0.6725 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.5199, allocations: 48 kB / 0.6725 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.52, allocations: 46.08 kB / 0.6725 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.5229, allocations: 1.117 MB / 0.6736 GB, free: 13.33 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.01042/0.5333, allocations: 7.497 MB / 0.681 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.536, allocations: 1.369 MB / 0.6823 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.5371, allocations: 426.8 kB / 0.6827 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005738/0.5428, allocations: 3.156 MB / 0.6858 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.5439, allocations: 434.9 kB / 0.6862 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.796e-06/0.544, allocations: 0 / 0.6862 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.003646/0.5476, allocations: 1.264 MB / 0.6874 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.5477, allocations: 59.97 kB / 0.6875 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.5507, allocations: 2.11 MB / 0.6895 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5508, allocations: 41.7 kB / 0.6896 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009231/0.5517, allocations: 1.022 MB / 0.6906 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.552, allocations: 221 kB / 0.6908 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.5524, allocations: 310.5 kB / 0.6911 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5526, allocations: 301.1 kB / 0.6914 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5538, allocations: 0.5609 MB / 0.6919 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.5554, allocations: 1.008 MB / 0.6929 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.5581, allocations: 1.459 MB / 0.6943 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.5581, allocations: 4 kB / 0.6943 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003669/0.5618, allocations: 1.782 MB / 0.6961 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.5619, allocations: 37.69 kB / 0.6961 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.5619, allocations: 15.98 kB / 0.6961 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.5619, allocations: 20 kB / 0.6961 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5631, allocations: 319.7 kB / 0.6965 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.5631, allocations: 23.92 kB / 0.6965 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.5647, allocations: 187.2 kB / 0.6967 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5648, allocations: 59.98 kB / 0.6967 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001935/0.5667, allocations: 0.9881 MB / 0.6977 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001536/0.5683, allocations: 0.996 MB / 0.6986 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002555/0.5709, allocations: 1.454 MB / 0.7001 GB, free: 412 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.772e-06/0.5709, allocations: 4 kB / 0.7001 GB, free: 408 kB / 0.5294 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003675/0.5746, allocations: 1.789 MB / 0.7018 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.5746, allocations: 33.7 kB / 0.7019 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5746, allocations: 16 kB / 0.7019 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.5747, allocations: 23.98 kB / 0.7019 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.5759, allocations: 311.5 kB / 0.7022 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.5759, allocations: 27.92 kB / 0.7022 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5774, allocations: 155.5 kB / 0.7024 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.5775, allocations: 63.98 kB / 0.7024 GB, free: 13.96 MB / 0.545 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.0003117/0.5778, allocations: 259.1 kB / 0.7027 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.5781, allocations: 197.4 kB / 0.7029 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.5811, allocations: 1.148 MB / 0.704 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.5811, allocations: 11.98 kB / 0.704 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5811, allocations: 0 / 0.704 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/0.5832, allocations: 0.966 MB / 0.7049 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/0.5886, allocations: 2.624 MB / 0.7075 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.5886, allocations: 7.938 kB / 0.7075 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.5894, allocations: 151.9 kB / 0.7076 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.5896, allocations: 28.84 kB / 0.7077 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.5896, allocations: 23.98 kB / 0.7077 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.5907, allocations: 1.417 MB / 0.7091 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5907, allocations: 0 / 0.7091 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.5943, allocations: 1.589 MB / 0.7106 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/0.5952, allocations: 394.1 kB / 0.711 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.5955, allocations: 19.98 kB / 0.711 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5965, allocations: 71.88 kB / 0.7111 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5966, allocations: 56.42 kB / 0.7112 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.5967, allocations: 31.98 kB / 0.7112 GB, free: 4.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002097/0.5988, allocations: 1.461 MB / 0.7126 GB, free: 3.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5988, allocations: 7.938 kB / 0.7126 GB, free: 3.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002722/0.6015, allocations: 1.033 MB / 0.7136 GB, free: 2.145 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 (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.001915/0.6035, allocations: 0.8609 MB / 0.7145 GB, free: 1.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004829/0.6083, allocations: 2.175 MB / 0.7166 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6083, allocations: 4 kB / 0.7166 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6096, allocations: 0.5489 MB / 0.7171 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/0.614, allocations: 0.9653 MB / 0.7181 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.6207, allocations: 3.676 MB / 0.7217 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.6219, allocations: 1.538 MB / 0.7232 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002194/0.6241, allocations: 0.5163 MB / 0.7237 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.6246, allocations: 171.4 kB / 0.7238 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.6246, allocations: 0 / 0.7238 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.3102/0.9348, allocations: 39.27 MB / 0.7622 GB, free: 150.8 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)