Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.518/2.518, allocations: 287.5 MB / 303.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 187 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 92.86 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 12.73 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.528, allocations: 454.7 MB / 1.423 GB, free: 8.055 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/1.528, allocations: 102.9 kB / 1.423 GB, free: 8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.606/8.134, allocations: 1.165 GB / 2.588 GB, free: 144.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/8.134, allocations: 0 / 2.588 GB, free: 144.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000416/8.134, allocations: 64.52 kB / 2.588 GB, free: 144.4 MB / 0.948 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.01073/8.145, allocations: 2.551 MB / 2.591 GB, free: 143.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/8.145, allocations: 9.781 kB / 2.591 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/8.149, allocations: 457.6 kB / 2.591 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/8.159, allocations: 2.287 MB / 2.593 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/8.16, allocations: 93.66 kB / 2.593 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004689/8.16, allocations: 121.8 kB / 2.593 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/8.164, allocations: 1.326 MB / 2.595 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/8.164, allocations: 8.156 kB / 2.595 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/8.164, allocations: 48.81 kB / 2.595 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/8.164, allocations: 29.62 kB / 2.595 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/8.168, allocations: 0.9614 MB / 2.596 GB, free: 142.6 MB / 0.948 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.01316/8.181, allocations: 6.856 MB / 2.602 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/8.184, allocations: 1.248 MB / 2.604 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/8.186, allocations: 375.5 kB / 2.604 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006573/8.192, allocations: 2.889 MB / 2.607 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/8.194, allocations: 406 kB / 2.607 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/8.195, allocations: 84.39 kB / 2.607 GB, free: 136 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 6.362e-06/8.195, allocations: 0.5625 kB / 2.607 GB, free: 136 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004761/8.2, allocations: 1.204 MB / 2.609 GB, free: 135.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/8.2, allocations: 165.8 kB / 2.609 GB, free: 135.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/8.203, allocations: 1.51 MB / 2.61 GB, free: 135.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003246/8.203, allocations: 40.61 kB / 2.61 GB, free: 135.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/8.204, allocations: 0.8883 MB / 2.611 GB, free: 134.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/8.205, allocations: 222.7 kB / 2.611 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/8.205, allocations: 20.06 kB / 2.611 GB, free: 134.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001/8.205, allocations: 346.3 kB / 2.612 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/8.206, allocations: 328.1 kB / 2.612 GB, free: 134.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/8.208, allocations: 0.7613 MB / 2.613 GB, free: 134 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/8.211, allocations: 1.046 MB / 2.614 GB, free: 133.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/8.211, allocations: 3.781 kB / 2.614 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004119/8.215, allocations: 1.216 MB / 2.615 GB, free: 133.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003057/8.215, allocations: 454.6 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/8.215, allocations: 10.91 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/8.215, allocations: 14.78 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/8.217, allocations: 241.3 kB / 2.616 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.328e-05/8.217, allocations: 30.84 kB / 2.616 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/8.219, allocations: 116.1 kB / 2.616 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/8.22, allocations: 67.33 kB / 2.616 GB, free: 132.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/8.22, allocations: 3.781 kB / 2.616 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003449/8.223, allocations: 1.042 MB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/8.223, allocations: 11.16 kB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/8.223, allocations: 19.09 kB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/8.225, allocations: 239 kB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/8.225, allocations: 29.19 kB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/8.227, allocations: 110.3 kB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/8.228, allocations: 55.42 kB / 2.617 GB, free: 132.8 MB / 0.948 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 ($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.001364/8.229, allocations: 494.6 kB / 2.618 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/8.229, allocations: 170.2 kB / 2.618 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/8.233, allocations: 1.128 MB / 2.619 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/8.233, allocations: 6.156 kB / 2.619 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/8.233, allocations: 6.094 kB / 2.619 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/8.236, allocations: 0.9699 MB / 2.62 GB, free: 131.9 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.00671/8.243, allocations: 2.323 MB / 2.622 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/8.243, allocations: 5.688 kB / 2.622 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/8.244, allocations: 129.1 kB / 2.622 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/8.244, allocations: 24.12 kB / 2.622 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/8.244, allocations: 24.61 kB / 2.622 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/8.245, allocations: 1.292 MB / 2.624 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/8.246, allocations: 3.938 kB / 2.624 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/8.25, allocations: 1.515 MB / 2.625 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/8.252, allocations: 333.8 kB / 2.625 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/8.252, allocations: 24.41 kB / 2.625 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/8.254, allocations: 105.5 kB / 2.626 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/8.254, allocations: 57.12 kB / 2.626 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/8.254, allocations: 31.78 kB / 2.626 GB, free: 129.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002344/8.257, allocations: 1.065 MB / 2.627 GB, free: 129.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.02e-07/8.257, allocations: 3.656 kB / 2.627 GB, free: 129.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005763/8.262, allocations: 0.992 MB / 2.628 GB, free: 129.3 MB / 0.948 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.x[1],mov.filter.x[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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003811/8.266, allocations: 1.328 MB / 2.629 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004911/8.271, allocations: 1.544 MB / 2.63 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/8.271, allocations: 2.25 kB / 2.63 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/8.273, allocations: 0.4999 MB / 2.631 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006668/8.28, allocations: 0.7326 MB / 2.632 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/8.288, allocations: 3.685 MB / 2.635 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/8.289, allocations: 1.368 MB / 2.637 GB, free: 126.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003131/8.293, allocations: 436.4 kB / 2.637 GB, free: 126.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/8.293, allocations: 141.6 kB / 2.637 GB, free: 126.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/8.293, allocations: 3.938 kB / 2.637 GB, free: 126.4 MB / 0.948 GB Notification: Performance of Templates: time 0.08973/8.383, allocations: 35.49 MB / 2.672 GB, free: 124.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)