Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001505/0.001505, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001673/0.001673, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 299.4 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4294, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05963/0.4891, allocations: 53.71 MB / 0.8195 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02743/0.5166, allocations: 17.01 MB / 0.8361 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.5197, allocations: 91.44 kB / 0.8362 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005717/0.5255, allocations: 1.929 MB / 0.8381 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007253/0.5328, allocations: 2.615 MB / 0.8407 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006345/0.5391, allocations: 2.365 MB / 0.843 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01169/0.5508, allocations: 7.55 MB / 0.8503 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/0.554, allocations: 1.67 MB / 0.852 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00495/0.559, allocations: 1.96 MB / 0.8539 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.5617, allocations: 1.427 MB / 0.8553 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.5624, allocations: 176 kB / 0.8554 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.567, allocations: 2.024 MB / 0.8574 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.5681, allocations: 0.6618 MB / 0.8581 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.5704, allocations: 1.224 MB / 0.8593 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007023/0.5774, allocations: 3.933 MB / 0.8631 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5774, allocations: 4 kB / 0.8631 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5774, allocations: 0 / 0.8631 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001139/0.5776, allocations: 0 / 0.8631 GB, free: 1.254 MB / 0.6231 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.006611/0.5842, allocations: 2.94 MB / 0.866 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5842, allocations: 16.02 kB / 0.866 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.5872, allocations: 0.5511 MB / 0.8665 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/0.593, allocations: 2.735 MB / 0.8692 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.5931, allocations: 94.17 kB / 0.8693 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.5935, allocations: 120 kB / 0.8694 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.5967, allocations: 1.365 MB / 0.8707 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.5968, allocations: 3.938 kB / 0.8707 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.5969, allocations: 48 kB / 0.8708 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.597, allocations: 42.08 kB / 0.8708 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.6, allocations: 1.101 MB / 0.8719 GB, free: 7.98 MB / 0.6387 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.01134/0.6113, allocations: 7.464 MB / 0.8792 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.6142, allocations: 1.34 MB / 0.8805 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.6152, allocations: 426.8 kB / 0.8809 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006055/0.6213, allocations: 3.164 MB / 0.884 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.6224, allocations: 418.9 kB / 0.8844 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 3.457e-06/0.6225, allocations: 0 / 0.8844 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.003513/0.626, allocations: 1.256 MB / 0.8856 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.626, allocations: 55.97 kB / 0.8857 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.6296, allocations: 2.129 MB / 0.8878 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.6297, allocations: 41.7 kB / 0.8878 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009479/0.6307, allocations: 1.018 MB / 0.8888 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.6309, allocations: 217 kB / 0.889 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.6314, allocations: 314.5 kB / 0.8893 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.6315, allocations: 305.1 kB / 0.8896 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.6328, allocations: 0.5493 MB / 0.8901 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.6343, allocations: 0.9963 MB / 0.8911 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.6369, allocations: 1.44 MB / 0.8925 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.6369, allocations: 8 kB / 0.8925 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003737/0.6406, allocations: 1.77 MB / 0.8942 GB, free: 15.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.6407, allocations: 37.7 kB / 0.8943 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.6407, allocations: 12.69 kB / 0.8943 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.6408, allocations: 16 kB / 0.8943 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.642, allocations: 315.5 kB / 0.8946 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.642, allocations: 19.94 kB / 0.8946 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6436, allocations: 182.6 kB / 0.8948 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6437, allocations: 63.98 kB / 0.8949 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00199/0.6457, allocations: 0.9717 MB / 0.8958 GB, free: 14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001509/0.6473, allocations: 0.9882 MB / 0.8968 GB, free: 12.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002495/0.6498, allocations: 1.45 MB / 0.8982 GB, free: 11.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.776e-06/0.6498, allocations: 4 kB / 0.8982 GB, free: 11.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003663/0.6535, allocations: 1.765 MB / 0.8999 GB, free: 9.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.6535, allocations: 41.64 kB / 0.9 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.6535, allocations: 15.98 kB / 0.9 GB, free: 9.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.6536, allocations: 16 kB / 0.9 GB, free: 9.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.6547, allocations: 308.1 kB / 0.9003 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.6548, allocations: 27.92 kB / 0.9003 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.6564, allocations: 159 kB / 0.9005 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6566, allocations: 63.98 kB / 0.9005 GB, free: 8.793 MB / 0.67 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.0003538/0.6569, allocations: 255.9 kB / 0.9008 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00052/0.6575, allocations: 205.6 kB / 0.901 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.6604, allocations: 1.127 MB / 0.9021 GB, free: 7.188 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/0.6624, allocations: 0.9543 MB / 0.903 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.6625, allocations: 4 kB / 0.903 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009346/0.6634, allocations: 386.2 kB / 0.9034 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/0.6639, allocations: 19.88 kB / 0.9034 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.665, allocations: 75.91 kB / 0.9035 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.6652, allocations: 44.5 kB / 0.9035 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002945/0.6681, allocations: 1.04 MB / 0.9045 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003505/0.6716, allocations: 1.621 MB / 0.9061 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009798/0.6726, allocations: 420.3 kB / 0.9065 GB, free: 2.535 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002541/0.6752, allocations: 1.416 MB / 0.9079 GB, free: 1.105 MB / 0.67 GB Notification: Performance of Backend: time 5.41e-07/0.6752, allocations: 4 kB / 0.9079 GB, free: 1.102 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007463/0.6827, allocations: 2.771 MB / 0.9106 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of SimCode: time 0.009027/0.6917, allocations: 4.578 MB / 0.9151 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of Templates: time 0.3986/1.09, allocations: 43.66 MB / 0.9577 GB, free: 109.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)