Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 304.3 MB, free: 8.016 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.001108/0.001108, allocations: 183.4 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0008154/0.0008155, allocations: 102.3 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 16.86 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9157/1.121, allocations: 454.9 MB / 1.425 GB, free: 6.465 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.121, allocations: 95.39 kB / 1.425 GB, free: 6.414 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.127/5.248, allocations: 1.165 GB / 2.59 GB, free: 143 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/5.248, allocations: 0 / 2.59 GB, free: 143 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002942/5.248, allocations: 58.92 kB / 2.59 GB, free: 143 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.006443/5.255, allocations: 2.543 MB / 2.592 GB, free: 142.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/5.255, allocations: 10.72 kB / 2.592 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/5.257, allocations: 456.7 kB / 2.593 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/5.262, allocations: 2.298 MB / 2.595 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/5.262, allocations: 91.11 kB / 2.595 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/5.263, allocations: 123.6 kB / 2.595 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/5.265, allocations: 1.321 MB / 2.596 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/5.265, allocations: 11.12 kB / 2.596 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/5.265, allocations: 46.12 kB / 2.596 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/5.265, allocations: 31.03 kB / 2.596 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/5.267, allocations: 0.9586 MB / 2.597 GB, free: 141.2 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.007831/5.275, allocations: 6.861 MB / 2.604 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/5.277, allocations: 1.26 MB / 2.605 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/5.277, allocations: 368.2 kB / 2.606 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004022/5.281, allocations: 2.879 MB / 2.608 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007716/5.282, allocations: 411.2 kB / 2.609 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005866/5.283, allocations: 82.8 kB / 2.609 GB, free: 134.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.657e-06/5.283, allocations: 0 / 2.609 GB, free: 134.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002553/5.285, allocations: 1.193 MB / 2.61 GB, free: 134.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/5.285, allocations: 169.5 kB / 2.61 GB, free: 134 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/5.287, allocations: 1.514 MB / 2.612 GB, free: 133.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/5.287, allocations: 40.23 kB / 2.612 GB, free: 133.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/5.288, allocations: 0.892 MB / 2.613 GB, free: 133.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/5.288, allocations: 215 kB / 2.613 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/5.288, allocations: 21.09 kB / 2.613 GB, free: 133.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/5.288, allocations: 347.6 kB / 2.613 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/5.289, allocations: 330.8 kB / 2.614 GB, free: 133.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/5.29, allocations: 0.7655 MB / 2.614 GB, free: 132.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/5.291, allocations: 1.046 MB / 2.615 GB, free: 132.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/5.291, allocations: 3.688 kB / 2.615 GB, free: 132.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002333/5.294, allocations: 1.213 MB / 2.616 GB, free: 131.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/5.294, allocations: 454 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/5.294, allocations: 11.47 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/5.294, allocations: 15.72 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/5.295, allocations: 242.1 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/5.295, allocations: 31.98 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/5.296, allocations: 122.3 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/5.296, allocations: 57.05 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/5.297, allocations: 6.438 kB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/5.298, allocations: 1.037 MB / 2.618 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/5.298, allocations: 14.62 kB / 2.618 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/5.298, allocations: 15.5 kB / 2.618 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/5.299, allocations: 246.1 kB / 2.619 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/5.299, allocations: 20.8 kB / 2.619 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/5.3, allocations: 114.3 kB / 2.619 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/5.301, allocations: 51.59 kB / 2.619 GB, free: 131.3 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.0009815/5.302, allocations: 495.1 kB / 2.619 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/5.302, allocations: 169.2 kB / 2.619 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/5.304, allocations: 1.129 MB / 2.621 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/5.304, allocations: 15.14 kB / 2.621 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/5.304, allocations: 0 / 2.621 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/5.305, allocations: 0.9688 MB / 2.622 GB, free: 130.5 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.003783/5.309, allocations: 2.32 MB / 2.624 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/5.309, allocations: 4.656 kB / 2.624 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/5.31, allocations: 133.3 kB / 2.624 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/5.31, allocations: 29.59 kB / 2.624 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/5.31, allocations: 17.83 kB / 2.624 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007128/5.311, allocations: 1.299 MB / 2.625 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.311, allocations: 2.812 kB / 2.625 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/5.313, allocations: 1.514 MB / 2.627 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/5.314, allocations: 338.7 kB / 2.627 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/5.314, allocations: 20.66 kB / 2.627 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/5.315, allocations: 101.7 kB / 2.627 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/5.315, allocations: 54.7 kB / 2.627 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/5.315, allocations: 30.67 kB / 2.627 GB, free: 128.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001431/5.317, allocations: 1.066 MB / 2.628 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.317, allocations: 2.562 kB / 2.628 GB, free: 128.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00318/5.32, allocations: 0.9958 MB / 2.629 GB, free: 127.9 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.002489/5.322, allocations: 1.331 MB / 2.631 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002902/5.325, allocations: 1.537 MB / 2.632 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/5.325, allocations: 3.812 kB / 2.632 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/5.326, allocations: 0.5019 MB / 2.633 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/5.33, allocations: 0.7375 MB / 2.633 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/5.336, allocations: 3.68 MB / 2.637 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/5.336, allocations: 1.369 MB / 2.638 GB, free: 125 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002123/5.339, allocations: 440.3 kB / 2.639 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/5.339, allocations: 140.5 kB / 2.639 GB, free: 124.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.964e-06/5.339, allocations: 3.875 kB / 2.639 GB, free: 124.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05594/5.395, allocations: 35.94 MB / 2.674 GB, free: 123.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)