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.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001111/0.001111, allocations: 187.1 kB / 372 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.518/1.518, allocations: 205.4 MB / 0.6307 GB, free: 9.883 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.0007126/0.0007126, allocations: 88.48 kB / 0.7441 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004199, allocations: 21.2 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1879, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04122/0.2291, allocations: 49.17 MB / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02379/0.253, allocations: 16.62 MB / 1.044 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.2556, allocations: 71.5 kB / 1.044 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.2587, allocations: 0.7953 MB / 1.045 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00612/0.2649, allocations: 1.879 MB / 1.047 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007594/0.2725, allocations: 2.738 MB / 1.049 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007273/0.2798, allocations: 5.169 MB / 1.054 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.2823, allocations: 1.23 MB / 1.055 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.2861, allocations: 1.544 MB / 1.057 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.2888, allocations: 1.26 MB / 1.058 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005565/0.2894, allocations: 68 kB / 1.058 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.2931, allocations: 1.509 MB / 1.06 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.2938, allocations: 414.2 kB / 1.06 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007691/0.2946, allocations: 408.6 kB / 1.061 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.2988, allocations: 2.502 MB / 1.063 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2988, allocations: 4 kB / 1.063 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2988, allocations: 0 / 1.063 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.588e-05/0.2989, allocations: 0 / 1.063 GB, free: 5.973 MB / 0.6823 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.004414/0.3033, allocations: 2.245 MB / 1.065 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3034, allocations: 11.97 kB / 1.065 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/0.3037, allocations: 177 kB / 1.065 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.306, allocations: 481 kB / 1.066 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.3095, allocations: 1.58 MB / 1.067 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.31, allocations: 162.2 kB / 1.068 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.3103, allocations: 120 kB / 1.068 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3646/0.6748, allocations: 1.393 MB / 1.069 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.6749, allocations: 1.062 kB / 1.069 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.6751, allocations: 46.84 kB / 1.069 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.6752, allocations: 33.81 kB / 1.069 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.6786, allocations: 1.13 MB / 1.07 GB, free: 88.7 MB / 0.6823 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.009585/0.6882, allocations: 7.008 MB / 1.077 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.6909, allocations: 1.436 MB / 1.078 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.6919, allocations: 435.1 kB / 1.079 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004908/0.6968, allocations: 3.089 MB / 1.082 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.698, allocations: 474.8 kB / 1.082 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000638/0.6987, allocations: 83 kB / 1.082 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.957e-06/0.6987, allocations: 0.9688 kB / 1.082 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003644/0.7023, allocations: 1.294 MB / 1.084 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.7024, allocations: 136.5 kB / 1.084 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.705, allocations: 1.57 MB / 1.085 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.7051, allocations: 43.92 kB / 1.085 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/0.7059, allocations: 0.8909 MB / 1.086 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.7061, allocations: 220.1 kB / 1.086 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.7062, allocations: 17.67 kB / 1.086 GB, free: 77.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.7062, allocations: 343.3 kB / 1.087 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.7074, allocations: 398.8 kB / 1.087 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.7086, allocations: 0.7941 MB / 1.088 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.7097, allocations: 0.5097 MB / 1.088 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7097, allocations: 3.438 kB / 1.088 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003192/0.7129, allocations: 1.335 MB / 1.09 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.7132, allocations: 445.2 kB / 1.09 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.7133, allocations: 11.77 kB / 1.09 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/0.7133, allocations: 18.11 kB / 1.09 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.7144, allocations: 266.5 kB / 1.09 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.7145, allocations: 23.17 kB / 1.09 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.7161, allocations: 131.4 kB / 1.091 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.7162, allocations: 54.78 kB / 1.091 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.7162, allocations: 3 kB / 1.091 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002726/0.719, allocations: 1.177 MB / 1.092 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.719, allocations: 11.98 kB / 1.092 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.7191, allocations: 18.16 kB / 1.092 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7201, allocations: 265.2 kB / 1.092 GB, free: 74.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.7201, allocations: 21.75 kB / 1.092 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7216, allocations: 130.6 kB / 1.092 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.7217, allocations: 53.34 kB / 1.092 GB, free: 74.95 MB / 0.6823 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 (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.0009478/0.7227, allocations: 486.8 kB / 1.093 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.723, allocations: 168.7 kB / 1.093 GB, free: 74.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.7261, allocations: 1.168 MB / 1.094 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.7261, allocations: 13.44 kB / 1.094 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.7261, allocations: 0 / 1.094 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002026/0.7282, allocations: 0.999 MB / 1.095 GB, free: 73.57 MB / 0.6823 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.006502/0.7347, allocations: 2.451 MB / 1.097 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7347, allocations: 1 kB / 1.097 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.7355, allocations: 155.4 kB / 1.098 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.7358, allocations: 35.94 kB / 1.098 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.7358, allocations: 19.36 kB / 1.098 GB, free: 72.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.7369, allocations: 1.368 MB / 1.099 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7369, allocations: 3.281 kB / 1.099 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.7405, allocations: 1.625 MB / 1.101 GB, free: 70.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009159/0.7414, allocations: 352.4 kB / 1.101 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.7419, allocations: 13.91 kB / 1.101 GB, free: 70.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.7432, allocations: 127 kB / 1.101 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7433, allocations: 50.61 kB / 1.101 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.7434, allocations: 33 kB / 1.101 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002098/0.7456, allocations: 1.114 MB / 1.102 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7456, allocations: 2.406 kB / 1.102 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003387/0.749, allocations: 0.9219 MB / 1.103 GB, free: 69.47 MB / 0.6823 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006884/0.7559, allocations: 2.809 MB / 1.106 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004372/0.7603, allocations: 1.729 MB / 1.108 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7603, allocations: 4.969 kB / 1.108 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.7616, allocations: 0.5698 MB / 1.108 GB, free: 67.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/0.7665, allocations: 0.7478 MB / 1.109 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/0.793, allocations: 11.02 MB / 1.12 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.7946, allocations: 1.368 MB / 1.121 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002681/0.7973, allocations: 412.8 kB / 1.121 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.7986, allocations: 0.7275 MB / 1.122 GB, free: 57.58 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/0.7986, allocations: 0 / 1.122 GB, free: 57.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0792/0.8779, allocations: 47.67 MB / 1.169 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.8781, allocations: 256.8 kB / 1.169 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/4.512, allocations: 0 / 1.169 GB, free: 13.63 MB / 0.6823 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)