Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.155/2.155, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001394, allocations: 183.5 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.54/2.54, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009181/0.0009179, allocations: 89.42 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005443, allocations: 17.72 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2027, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06721/0.2699, allocations: 49.15 MB / 0.9475 GB, free: 16.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03177/0.3018, allocations: 16.6 MB / 0.9637 GB, free: 15.6 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/0.3051, allocations: 75.5 kB / 0.9638 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.3094, allocations: 0.8031 MB / 0.9646 GB, free: 14.72 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.3176, allocations: 1.881 MB / 0.9664 GB, free: 12.83 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.3297, allocations: 2.713 MB / 0.9691 GB, free: 10.14 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.3403, allocations: 5.199 MB / 0.9741 GB, free: 4.922 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003968/0.3443, allocations: 1.319 MB / 0.9754 GB, free: 3.574 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/0.3496, allocations: 1.532 MB / 0.9769 GB, free: 2.035 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.3531, allocations: 1.26 MB / 0.9782 GB, free: 0.7695 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0006178/0.3538, allocations: 68 kB / 0.9782 GB, free: 0.7031 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005486/0.3593, allocations: 1.505 MB / 0.9797 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.3604, allocations: 418.3 kB / 0.9801 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000986/0.3615, allocations: 412.6 kB / 0.9805 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005746/0.3672, allocations: 2.49 MB / 0.9829 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.3673, allocations: 0 / 0.9829 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3673, allocations: 0 / 0.9829 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.754e-05/0.3674, allocations: 0 / 0.9829 GB, free: 11.88 MB / 0.6355 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.007312/0.3747, allocations: 2.229 MB / 0.9851 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3748, allocations: 8.031 kB / 0.9851 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004007/0.3788, allocations: 497.6 kB / 0.9856 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.3844, allocations: 1.581 MB / 0.9871 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007364/0.3852, allocations: 154.1 kB / 0.9873 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/0.3856, allocations: 127.9 kB / 0.9874 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.3905, allocations: 1.389 MB / 0.9887 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.3906, allocations: 7.938 kB / 0.9887 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.3908, allocations: 44 kB / 0.9888 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.3909, allocations: 32 kB / 0.9888 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.3962, allocations: 1.124 MB / 0.9899 GB, free: 4.477 MB / 0.6355 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.01547/0.4117, allocations: 7.002 MB / 0.9968 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004863/0.4166, allocations: 1.443 MB / 0.9982 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.4186, allocations: 442.6 kB / 0.9986 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007802/0.4264, allocations: 3.074 MB / 1.002 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001878/0.4284, allocations: 466.8 kB / 1.002 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007963/0.4292, allocations: 83.34 kB / 1.002 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 6.432e-06/0.4292, allocations: 3.984 kB / 1.002 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.005863/0.4351, allocations: 1.295 MB / 1.003 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/0.4352, allocations: 141.1 kB / 1.004 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.4387, allocations: 1.566 MB / 1.005 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.4389, allocations: 45.64 kB / 1.005 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.4401, allocations: 0.8841 MB / 1.006 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.4404, allocations: 216.9 kB / 1.006 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.4405, allocations: 20 kB / 1.006 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4407, allocations: 353.9 kB / 1.007 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.4425, allocations: 389.8 kB / 1.007 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.4447, allocations: 0.7969 MB / 1.008 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.4467, allocations: 0.5044 MB / 1.008 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4467, allocations: 4 kB / 1.008 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004991/0.4517, allocations: 1.329 MB / 1.009 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.4522, allocations: 437.5 kB / 1.01 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.4522, allocations: 12 kB / 1.01 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.4523, allocations: 16 kB / 1.01 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.4542, allocations: 263.6 kB / 1.01 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-05/0.4543, allocations: 27.86 kB / 1.01 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.4566, allocations: 136.4 kB / 1.01 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.4569, allocations: 55.98 kB / 1.01 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4569, allocations: 6.031 kB / 1.01 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004617/0.4615, allocations: 1.161 MB / 1.012 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.474e-05/0.4616, allocations: 15.98 kB / 1.012 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.4616, allocations: 16 kB / 1.012 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.4636, allocations: 260 kB / 1.012 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.595e-05/0.4637, allocations: 23.92 kB / 1.012 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.466, allocations: 124.5 kB / 1.012 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/0.4662, allocations: 51.98 kB / 1.012 GB, free: 12.42 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.4675, allocations: 496.5 kB / 1.012 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/0.468, allocations: 161.9 kB / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/0.4728, allocations: 1.167 MB / 1.014 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003761/0.4766, allocations: 1.006 MB / 1.015 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4767, allocations: 4 kB / 1.015 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.4778, allocations: 334.7 kB / 1.015 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.4781, allocations: 16 kB / 1.015 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.4798, allocations: 103.8 kB / 1.015 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.48, allocations: 56.56 kB / 1.015 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005243/0.4853, allocations: 1.099 MB / 1.016 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006307/0.4916, allocations: 1.674 MB / 1.018 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001732/0.4934, allocations: 441 kB / 1.018 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002566/0.496, allocations: 1.053 MB / 1.019 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of Backend: time 8.81e-07/0.4961, allocations: 3.938 kB / 1.019 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00914/0.5052, allocations: 2.248 MB / 1.022 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of SimCode: time 0.0121/0.5174, allocations: 4.486 MB / 1.026 GB, free: 14.07 MB / 0.6824 GB Notification: Performance of Templates: time 0.6581/1.176, allocations: 34.23 MB / 1.059 GB, free: 145.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)