Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001146/0.001146, allocations: 113 kB / 16.38 MB, free: 5.992 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.001431/0.001431, allocations: 187.8 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 68.47 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2097, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.4318/0.6416, allocations: 53.4 MB / 0.8369 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02643/0.6681, allocations: 17.67 MB / 0.8542 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.6723, allocations: 89.97 kB / 0.8543 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.6765, allocations: 1.16 MB / 0.8554 GB, free: 1.602 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007488/0.684, allocations: 2.335 MB / 0.8577 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01163/0.6956, allocations: 3.63 MB / 0.8612 GB, free: 14.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009337/0.705, allocations: 4.659 MB / 0.8658 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003582/0.7086, allocations: 1.626 MB / 0.8674 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.7148, allocations: 1.929 MB / 0.8693 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.7185, allocations: 1.352 MB / 0.8706 GB, free: 9.645 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006435/0.7191, allocations: 167.9 kB / 0.8707 GB, free: 9.645 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005805/0.7249, allocations: 1.974 MB / 0.8727 GB, free: 8.586 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009168/0.7259, allocations: 0.5296 MB / 0.8732 GB, free: 8.184 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.7281, allocations: 1.037 MB / 0.8742 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008063/0.7362, allocations: 3.464 MB / 0.8776 GB, free: 5.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7362, allocations: 1.062 kB / 0.8776 GB, free: 5.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.589e-06/0.7362, allocations: 0 / 0.8776 GB, free: 5.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.996e-05/0.7363, allocations: 7.875 kB / 0.8776 GB, free: 5.152 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005694/0.742, allocations: 2.561 MB / 0.8801 GB, free: 3.238 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7421, allocations: 8.562 kB / 0.8801 GB, free: 3.238 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.7445, allocations: 457.1 kB / 0.8805 GB, free: 3.027 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.7485, allocations: 1.672 MB / 0.8822 GB, free: 1.781 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.7486, allocations: 91.92 kB / 0.8823 GB, free: 1.738 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.7488, allocations: 121.6 kB / 0.8824 GB, free: 1.699 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.7517, allocations: 1.366 MB / 0.8837 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.7518, allocations: 5.094 kB / 0.8837 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.7519, allocations: 48.19 kB / 0.8838 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.7519, allocations: 27.94 kB / 0.8838 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.7548, allocations: 1.074 MB / 0.8848 GB, free: 220 kB / 0.67 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.009937/0.7647, allocations: 7.038 MB / 0.8917 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.7673, allocations: 1.353 MB / 0.893 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.7684, allocations: 411 kB / 0.8934 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004807/0.7732, allocations: 2.986 MB / 0.8963 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.7743, allocations: 442.1 kB / 0.8968 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/0.7743, allocations: 0 / 0.8968 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.003494/0.7778, allocations: 1.213 MB / 0.8979 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.7779, allocations: 112 kB / 0.898 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.7803, allocations: 1.564 MB / 0.8996 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.7804, allocations: 49.64 kB / 0.8996 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/0.7812, allocations: 0.8956 MB / 0.9005 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.7814, allocations: 213 kB / 0.9007 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.7818, allocations: 210.4 kB / 0.9009 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7819, allocations: 345.9 kB / 0.9012 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.783, allocations: 396.6 kB / 0.9016 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.7843, allocations: 0.7891 MB / 0.9024 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.7865, allocations: 1.149 MB / 0.9035 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.7865, allocations: 0 / 0.9035 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003202/0.7897, allocations: 1.329 MB / 0.9048 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.7898, allocations: 41.69 kB / 0.9048 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.7898, allocations: 12.66 kB / 0.9049 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.7898, allocations: 20 kB / 0.9049 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.7909, allocations: 255.5 kB / 0.9051 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.7909, allocations: 27.92 kB / 0.9051 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.7924, allocations: 143.5 kB / 0.9053 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.7925, allocations: 59.92 kB / 0.9053 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001639/0.7941, allocations: 0.6854 MB / 0.906 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00127/0.7954, allocations: 0.776 MB / 0.9068 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002172/0.7976, allocations: 1.121 MB / 0.9079 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.7976, allocations: 4 kB / 0.9079 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003054/0.8007, allocations: 1.289 MB / 0.9091 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.8007, allocations: 41.7 kB / 0.9092 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.8008, allocations: 13.31 kB / 0.9092 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8008, allocations: 16.66 kB / 0.9092 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8018, allocations: 255.6 kB / 0.9094 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.8019, allocations: 27.86 kB / 0.9095 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.8033, allocations: 123.9 kB / 0.9096 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.8034, allocations: 51.98 kB / 0.9096 GB, free: 8.598 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (122): * Single equations (assignments): 118 * Array equations: 2 * 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.0003338/0.8037, allocations: 249 kB / 0.9099 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.8041, allocations: 169.8 kB / 0.91 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.8069, allocations: 1.112 MB / 0.9111 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00197/0.8089, allocations: 0.9581 MB / 0.912 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8089, allocations: 0 / 0.912 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000693/0.8096, allocations: 330.7 kB / 0.9124 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.8099, allocations: 23.98 kB / 0.9124 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007896/0.8107, allocations: 51.95 kB / 0.9124 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.8108, allocations: 52.48 kB / 0.9125 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002786/0.8136, allocations: 1.032 MB / 0.9135 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003455/0.8171, allocations: 1.591 MB / 0.915 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009482/0.818, allocations: 412.3 kB / 0.9154 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001671/0.8197, allocations: 1.045 MB / 0.9165 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of Backend: time 4.21e-07/0.8197, allocations: 4 kB / 0.9165 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006601/0.8263, allocations: 2.264 MB / 0.9187 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006729/0.8331, allocations: 3.845 MB / 0.9224 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of Templates: time 0.06255/0.8957, allocations: 36.3 MB / 0.9579 GB, free: 7.719 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)