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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001254/0.001255, allocations: 185 kB / 371.8 MB, free: 10.27 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.593/1.593, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008631/0.0008632, allocations: 85.11 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 12.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9386/1.161, allocations: 454.7 MB / 1.424 GB, free: 6.988 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.161, allocations: 103.6 kB / 1.424 GB, free: 6.934 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.042/5.204, allocations: 1.171 GB / 2.595 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/5.204, allocations: 0 / 2.595 GB, free: 141.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002266/5.204, allocations: 57.23 kB / 2.595 GB, free: 141.6 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.006178/5.21, allocations: 2.573 MB / 2.597 GB, free: 140.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/5.21, allocations: 10.53 kB / 2.597 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003796/5.21, allocations: 171.1 kB / 2.597 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/5.213, allocations: 465.3 kB / 2.598 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006351/5.219, allocations: 2.31 MB / 2.6 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.932e-05/5.219, allocations: 93.56 kB / 2.6 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/5.22, allocations: 129.3 kB / 2.6 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/5.222, allocations: 1.32 MB / 2.602 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/5.222, allocations: 3.688 kB / 2.602 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/5.222, allocations: 48.73 kB / 2.602 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/5.222, allocations: 30.66 kB / 2.602 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/5.224, allocations: 0.9622 MB / 2.603 GB, free: 139.8 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.009148/5.233, allocations: 6.886 MB / 2.609 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/5.235, allocations: 1.279 MB / 2.611 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004975/5.24, allocations: 2.882 MB / 2.613 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/5.241, allocations: 412.4 kB / 2.614 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009215/5.242, allocations: 93.59 kB / 2.614 GB, free: 133.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 6.122e-06/5.242, allocations: 0 / 2.614 GB, free: 133.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002873/5.245, allocations: 1.122 MB / 2.615 GB, free: 132.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/5.245, allocations: 162.2 kB / 2.615 GB, free: 132.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/5.248, allocations: 1.366 MB / 2.617 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/5.248, allocations: 38.55 kB / 2.617 GB, free: 132.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/5.249, allocations: 0.8899 MB / 2.617 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/5.25, allocations: 222.7 kB / 2.618 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/5.25, allocations: 16.88 kB / 2.618 GB, free: 132.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/5.25, allocations: 342.4 kB / 2.618 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008566/5.251, allocations: 330.3 kB / 2.618 GB, free: 131.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/5.252, allocations: 0.761 MB / 2.619 GB, free: 131.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/5.253, allocations: 459.4 kB / 2.619 GB, free: 131.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/5.253, allocations: 3.719 kB / 2.619 GB, free: 131.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002852/5.256, allocations: 1.227 MB / 2.621 GB, free: 131 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/5.257, allocations: 4.553 MB / 2.625 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/5.257, allocations: 15.02 kB / 2.625 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/5.257, allocations: 17.91 kB / 2.625 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/5.258, allocations: 251.6 kB / 2.625 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/5.258, allocations: 21.69 kB / 2.625 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/5.26, allocations: 116.6 kB / 2.626 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/5.26, allocations: 57.42 kB / 2.626 GB, free: 126.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/5.26, allocations: 3.969 kB / 2.626 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/5.262, allocations: 1.048 MB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/5.262, allocations: 16.38 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/5.262, allocations: 21.03 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/5.263, allocations: 247.9 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/5.263, allocations: 22.3 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/5.264, allocations: 110.6 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/5.265, allocations: 57.36 kB / 2.627 GB, free: 126.2 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 (122): * Single equations (assignments): 118 * 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.001048/5.266, allocations: 495 kB / 2.628 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/5.266, allocations: 169 kB / 2.628 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/5.269, allocations: 1.048 MB / 2.629 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/5.269, allocations: 11.22 kB / 2.629 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/5.269, allocations: 10.88 kB / 2.629 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/5.27, allocations: 0.8927 MB / 2.63 GB, free: 125.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 postOpt removeSimpleEquations (simulation): time 0.005002/5.275, allocations: 2.272 MB / 2.632 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/5.275, allocations: 3.875 kB / 2.632 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/5.276, allocations: 132.3 kB / 2.632 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/5.276, allocations: 29.27 kB / 2.632 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/5.276, allocations: 21.77 kB / 2.632 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/5.277, allocations: 1.312 MB / 2.633 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/5.277, allocations: 1.938 kB / 2.633 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/5.28, allocations: 1.486 MB / 2.635 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/5.281, allocations: 345.6 kB / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005285/5.281, allocations: 21.47 kB / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/5.282, allocations: 96.92 kB / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/5.283, allocations: 56.7 kB / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/5.283, allocations: 34.91 kB / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001859/5.284, allocations: 1.096 MB / 2.636 GB, free: 123.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/5.284, allocations: 0 / 2.636 GB, free: 123.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004105/5.289, allocations: 1.038 MB / 2.637 GB, free: 123.1 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 (70): * Single equations (assignments): 61 * 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.006698/5.295, allocations: 3.409 MB / 2.641 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003253/5.299, allocations: 1.555 MB / 2.642 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/5.299, allocations: 3.812 kB / 2.642 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/5.3, allocations: 0.5002 MB / 2.643 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/5.304, allocations: 0.7346 MB / 2.643 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/5.315, allocations: 12.58 MB / 2.656 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/5.316, allocations: 1.408 MB / 2.657 GB, free: 110.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002324/5.318, allocations: 442.8 kB / 2.657 GB, free: 110.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/5.319, allocations: 0.7235 MB / 2.658 GB, free: 110.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/5.319, allocations: 0 / 2.658 GB, free: 110.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08947/5.409, allocations: 53.38 MB / 2.71 GB, free: 108.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/5.409, allocations: 248.6 kB / 2.711 GB, free: 107.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/9.419, allocations: 4 kB / 2.711 GB, free: 107.8 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)