Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 252 MB / 267.3 MB, free: 10.85 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.001277/0.001277, allocations: 178.8 kB / 327 MB, free: 2.09 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.028/2.028, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008586/0.0008588, allocations: 97.31 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 9.594 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04562/0.2702, allocations: 52.01 MB / 0.9517 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.2929, allocations: 17.91 MB / 0.9692 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00342/0.2964, allocations: 71.5 kB / 0.9693 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.3, allocations: 0.9913 MB / 0.9702 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.3068, allocations: 2.13 MB / 0.9723 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.3169, allocations: 3.061 MB / 0.9753 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008017/0.3249, allocations: 6.013 MB / 0.9812 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.3277, allocations: 1.361 MB / 0.9825 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.3321, allocations: 1.614 MB / 0.9841 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.3349, allocations: 1.341 MB / 0.9854 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.3353, allocations: 68 kB / 0.9855 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.3399, allocations: 1.805 MB / 0.9872 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008288/0.3408, allocations: 438.1 kB / 0.9876 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.3424, allocations: 0.9571 MB / 0.9886 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.3481, allocations: 3.29 MB / 0.9918 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3481, allocations: 0 / 0.9918 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3481, allocations: 4 kB / 0.9918 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.3482, allocations: 4 kB / 0.9918 GB, free: 2.027 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.004412/0.3526, allocations: 2.206 MB / 0.9939 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.3527, allocations: 8.031 kB / 0.9939 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/0.3529, allocations: 173.1 kB / 0.9941 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.355, allocations: 497.4 kB / 0.9946 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.3584, allocations: 1.644 MB / 0.9962 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.3588, allocations: 158.2 kB / 0.9963 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.359, allocations: 120 kB / 0.9965 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.3618, allocations: 1.396 MB / 0.9978 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3619, allocations: 4 kB / 0.9978 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.362, allocations: 51.98 kB / 0.9979 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.3621, allocations: 31.94 kB / 0.9979 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.3648, allocations: 1.136 MB / 0.999 GB, free: 10.38 MB / 0.6511 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.009833/0.3747, allocations: 7.018 MB / 1.006 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.3774, allocations: 1.442 MB / 1.007 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009862/0.3784, allocations: 440.8 kB / 1.008 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00496/0.3833, allocations: 3.074 MB / 1.011 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.3844, allocations: 462.9 kB / 1.011 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006955/0.3852, allocations: 87.25 kB / 1.011 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 4.238e-06/0.3852, allocations: 4 kB / 1.011 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.003376/0.3886, allocations: 1.295 MB / 1.012 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.3887, allocations: 137.1 kB / 1.013 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.391, allocations: 1.59 MB / 1.014 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.3911, allocations: 41.7 kB / 1.014 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009079/0.392, allocations: 0.8841 MB / 1.015 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.3922, allocations: 221 kB / 1.015 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.3923, allocations: 16 kB / 1.015 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3925, allocations: 345.9 kB / 1.016 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3935, allocations: 417.7 kB / 1.016 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.3948, allocations: 0.8125 MB / 1.017 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.3971, allocations: 1.186 MB / 1.018 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3971, allocations: 4 kB / 1.018 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002928/0.4, allocations: 1.367 MB / 1.019 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.4004, allocations: 435.7 kB / 1.02 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.4004, allocations: 19.98 kB / 1.02 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.4005, allocations: 19.94 kB / 1.02 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.4015, allocations: 263.6 kB / 1.02 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.452e-05/0.4016, allocations: 27.86 kB / 1.02 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4029, allocations: 128.5 kB / 1.02 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.403, allocations: 59.91 kB / 1.02 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.403, allocations: 4 kB / 1.02 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002489/0.4055, allocations: 1.165 MB / 1.021 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4055, allocations: 12 kB / 1.021 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4056, allocations: 19.94 kB / 1.021 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.4066, allocations: 271.8 kB / 1.022 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.4066, allocations: 19.94 kB / 1.022 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4078, allocations: 128.5 kB / 1.022 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4079, allocations: 51.98 kB / 1.022 GB, free: 1.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009344/0.4089, allocations: 483.9 kB / 1.022 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.4091, allocations: 173.8 kB / 1.022 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.4118, allocations: 1.163 MB / 1.024 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.4118, allocations: 11.98 kB / 1.024 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4119, allocations: 3.938 kB / 1.024 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002098/0.414, allocations: 1.009 MB / 1.025 GB, free: 14.47 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.004517/0.4185, allocations: 2.445 MB / 1.027 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4185, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.4193, allocations: 155.8 kB / 1.027 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.4195, allocations: 36.83 kB / 1.027 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.4196, allocations: 19.98 kB / 1.027 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.421, allocations: 1.382 MB / 1.029 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.421, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.4244, allocations: 1.631 MB / 1.03 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.4252, allocations: 350.6 kB / 1.03 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/0.4255, allocations: 16 kB / 1.031 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4267, allocations: 115.8 kB / 1.031 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4268, allocations: 56.48 kB / 1.031 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.4269, allocations: 31.97 kB / 1.031 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002003/0.4289, allocations: 1.122 MB / 1.032 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4289, allocations: 0 / 1.032 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003316/0.4323, allocations: 0.92 MB / 1.033 GB, free: 5.93 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00644/0.4387, allocations: 2.821 MB / 1.035 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.4428, allocations: 1.737 MB / 1.037 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4429, allocations: 0 / 1.037 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.4442, allocations: 0.5802 MB / 1.038 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/0.4489, allocations: 0.751 MB / 1.038 GB, free: 80 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03318/0.4821, allocations: 14.12 MB / 1.052 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4459/0.9281, allocations: 1.366 MB / 1.054 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002158/0.9303, allocations: 419.2 kB / 1.054 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009474/0.9312, allocations: 0.7231 MB / 1.055 GB, free: 143.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/0.9313, allocations: 0 / 1.055 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08204/1.013, allocations: 45.13 MB / 1.099 GB, free: 120.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.014, allocations: 283.8 kB / 1.099 GB, free: 119.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/5.122, allocations: 0 / 1.099 GB, free: 119.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)