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.001695/0.001695, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001903/0.001904, allocations: 186.1 kB / 17.35 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 286.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9527/0.9527, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3948, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05346/0.4483, allocations: 53.71 MB / 0.8195 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.4737, allocations: 17.01 MB / 0.8361 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.4771, allocations: 91.5 kB / 0.8362 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.4826, allocations: 1.911 MB / 0.8381 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006612/0.4892, allocations: 2.52 MB / 0.8405 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005854/0.4951, allocations: 2.338 MB / 0.8428 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.5056, allocations: 7.539 MB / 0.8502 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.5084, allocations: 1.674 MB / 0.8518 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/0.5127, allocations: 1.959 MB / 0.8537 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.5151, allocations: 1.431 MB / 0.8551 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005345/0.5157, allocations: 176 kB / 0.8553 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.52, allocations: 2.016 MB / 0.8573 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.5209, allocations: 0.6696 MB / 0.8579 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.523, allocations: 1.224 MB / 0.8591 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.5295, allocations: 3.929 MB / 0.863 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5295, allocations: 0 / 0.863 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5295, allocations: 0 / 0.863 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.033e-05/0.5296, allocations: 0 / 0.863 GB, free: 1.41 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.005859/0.5355, allocations: 2.944 MB / 0.8658 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5355, allocations: 8.031 kB / 0.8658 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.5383, allocations: 0.555 MB / 0.8664 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.5432, allocations: 2.731 MB / 0.8691 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.5434, allocations: 98.17 kB / 0.8691 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.5436, allocations: 131.9 kB / 0.8693 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.5463, allocations: 1.359 MB / 0.8706 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5464, allocations: 0 / 0.8706 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.5465, allocations: 48 kB / 0.8706 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.5466, allocations: 46.06 kB / 0.8707 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.5494, allocations: 1.105 MB / 0.8718 GB, free: 8.125 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.01058/0.56, allocations: 7.46 MB / 0.8791 GB, free: 112 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.5626, allocations: 1.336 MB / 0.8804 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/0.5636, allocations: 422.8 kB / 0.8808 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005654/0.5692, allocations: 3.16 MB / 0.8838 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.5704, allocations: 426.9 kB / 0.8843 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.986e-06/0.5704, allocations: 7.938 kB / 0.8843 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.003404/0.5738, allocations: 1.24 MB / 0.8855 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.5738, allocations: 55.97 kB / 0.8855 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.5771, allocations: 2.133 MB / 0.8876 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/0.5772, allocations: 49.64 kB / 0.8877 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000908/0.5781, allocations: 1.014 MB / 0.8886 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.5783, allocations: 217 kB / 0.8889 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.5788, allocations: 310.5 kB / 0.8892 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5789, allocations: 301.1 kB / 0.8894 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.5801, allocations: 0.5609 MB / 0.89 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.5816, allocations: 0.9886 MB / 0.891 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.5842, allocations: 1.448 MB / 0.8924 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.5842, allocations: 4 kB / 0.8924 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0035/0.5877, allocations: 1.766 MB / 0.8941 GB, free: 15.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.5878, allocations: 41.69 kB / 0.8941 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5878, allocations: 12 kB / 0.8941 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/0.5878, allocations: 20 kB / 0.8942 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.589, allocations: 308 kB / 0.8945 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.589, allocations: 27.86 kB / 0.8945 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5904, allocations: 182.6 kB / 0.8947 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.5906, allocations: 63.98 kB / 0.8947 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001828/0.5924, allocations: 0.9717 MB / 0.8957 GB, free: 14.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001485/0.5939, allocations: 0.9844 MB / 0.8966 GB, free: 12.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002484/0.5964, allocations: 1.454 MB / 0.898 GB, free: 11.35 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.827e-06/0.5964, allocations: 4 kB / 0.8981 GB, free: 11.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003462/0.5999, allocations: 1.758 MB / 0.8998 GB, free: 9.574 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.6, allocations: 41.64 kB / 0.8998 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6, allocations: 12 kB / 0.8998 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.6, allocations: 20.17 kB / 0.8998 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6012, allocations: 311.6 kB / 0.9001 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.6012, allocations: 31.8 kB / 0.9002 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6027, allocations: 167 kB / 0.9003 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6028, allocations: 59.98 kB / 0.9004 GB, free: 8.938 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.0003145/0.6031, allocations: 255.9 kB / 0.9006 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.6035, allocations: 201.4 kB / 0.9008 GB, free: 8.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.6064, allocations: 1.131 MB / 0.9019 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002047/0.6084, allocations: 0.9504 MB / 0.9029 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6084, allocations: 4 kB / 0.9029 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.6091, allocations: 382.2 kB / 0.9032 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.6094, allocations: 19.94 kB / 0.9032 GB, free: 5.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.6104, allocations: 71.86 kB / 0.9033 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6106, allocations: 56.42 kB / 0.9034 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002874/0.6135, allocations: 1.032 MB / 0.9044 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003384/0.6169, allocations: 1.613 MB / 0.9059 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009647/0.6178, allocations: 420.2 kB / 0.9063 GB, free: 2.695 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002217/0.6201, allocations: 1.428 MB / 0.9077 GB, free: 1.254 MB / 0.67 GB Notification: Performance of Backend: time 3.71e-07/0.6201, allocations: 0 / 0.9077 GB, free: 1.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006635/0.6267, allocations: 2.77 MB / 0.9104 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008181/0.6349, allocations: 4.585 MB / 0.9149 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of Templates: time 0.3728/1.008, allocations: 43.64 MB / 0.9575 GB, free: 180.7 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)