Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005222/0.005222, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 67.88 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6178, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05231/0.6702, allocations: 53.76 MB / 1.219 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.6932, allocations: 17.01 MB / 1.235 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.6951, allocations: 87.5 kB / 1.235 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004245/0.6994, allocations: 1.917 MB / 1.237 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005116/0.7045, allocations: 2.509 MB / 1.24 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.7093, allocations: 2.354 MB / 1.242 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009321/0.7187, allocations: 7.522 MB / 1.249 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.7208, allocations: 1.666 MB / 1.251 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.7242, allocations: 1.922 MB / 1.253 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.726, allocations: 1.439 MB / 1.254 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.7263, allocations: 176 kB / 1.254 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.7298, allocations: 2.028 MB / 1.256 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006294/0.7304, allocations: 0.6619 MB / 1.257 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.7316, allocations: 1.224 MB / 1.258 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.7364, allocations: 3.939 MB / 1.262 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7365, allocations: 0 / 1.262 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7365, allocations: 8 kB / 1.262 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.7365, allocations: 0 / 1.262 GB, free: 1.215 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004551/0.7411, allocations: 3.034 MB / 1.265 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7411, allocations: 16.92 kB / 1.265 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.7413, allocations: 169.1 kB / 1.265 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.7437, allocations: 0.5643 MB / 1.266 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.7479, allocations: 2.759 MB / 1.269 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.748, allocations: 86.23 kB / 1.269 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.7482, allocations: 124 kB / 1.269 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.7507, allocations: 1.359 MB / 1.27 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.7507, allocations: 7.938 kB / 1.27 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.7509, allocations: 48 kB / 1.27 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.7509, allocations: 46.06 kB / 1.27 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.7536, allocations: 1.097 MB / 1.271 GB, free: 7.641 MB / 0.9981 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.008906/0.7625, allocations: 7.47 MB / 1.279 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.7649, allocations: 1.34 MB / 1.28 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.7658, allocations: 415.4 kB / 1.28 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004869/0.7707, allocations: 3.168 MB / 1.283 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.7717, allocations: 426.9 kB / 1.284 GB, free: 9.816 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 2.044e-06/0.7717, allocations: 0 / 1.284 GB, free: 9.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.003005/0.7748, allocations: 1.253 MB / 1.285 GB, free: 8.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7748, allocations: 59.97 kB / 1.285 GB, free: 8.465 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.7774, allocations: 2.133 MB / 1.287 GB, free: 6.305 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.7775, allocations: 41.7 kB / 1.287 GB, free: 6.258 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008578/0.7784, allocations: 1.032 MB / 1.288 GB, free: 5.219 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.7785, allocations: 226.1 kB / 1.288 GB, free: 4.996 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.779, allocations: 314.7 kB / 1.289 GB, free: 4.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7791, allocations: 305.1 kB / 1.289 GB, free: 4.379 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.7802, allocations: 0.5532 MB / 1.289 GB, free: 3.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.7817, allocations: 0.9885 MB / 1.29 GB, free: 2.648 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.7841, allocations: 1.448 MB / 1.292 GB, free: 1.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.7841, allocations: 8.094 kB / 1.292 GB, free: 1.023 MB / 1.014 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00314/0.7873, allocations: 1.791 MB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.7873, allocations: 37.7 kB / 1.294 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.7874, allocations: 12.69 kB / 1.294 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.7874, allocations: 16 kB / 1.294 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.7884, allocations: 311.5 kB / 1.294 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.7885, allocations: 23.94 kB / 1.294 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.7896, allocations: 187.2 kB / 1.294 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.7897, allocations: 59.98 kB / 1.294 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001653/0.7914, allocations: 0.9756 MB / 1.295 GB, free: 13.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001448/0.7928, allocations: 0.9921 MB / 1.296 GB, free: 12.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002369/0.7952, allocations: 1.443 MB / 1.298 GB, free: 10.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/0.7952, allocations: 4 kB / 1.298 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003137/0.7984, allocations: 1.786 MB / 1.299 GB, free: 9.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.7984, allocations: 37.7 kB / 1.299 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7984, allocations: 15.94 kB / 1.299 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7984, allocations: 16 kB / 1.299 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.7995, allocations: 316.1 kB / 1.3 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.7995, allocations: 23.94 kB / 1.3 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.8006, allocations: 159.3 kB / 1.3 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.463e-05/0.8007, allocations: 59.98 kB / 1.3 GB, free: 8.387 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * 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.0002446/0.801, allocations: 262.6 kB / 1.3 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.8012, allocations: 214.6 kB / 1.3 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.8038, allocations: 1.134 MB / 1.301 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8038, allocations: 8 kB / 1.301 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.8038, allocations: 0 / 1.301 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001937/0.8057, allocations: 0.9582 MB / 1.302 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.8102, allocations: 2.621 MB / 1.305 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8103, allocations: 0 / 1.305 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.8109, allocations: 143.8 kB / 1.305 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.8111, allocations: 32.84 kB / 1.305 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.8112, allocations: 19.98 kB / 1.305 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.8122, allocations: 1.421 MB / 1.307 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8123, allocations: 3.938 kB / 1.307 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.8155, allocations: 1.576 MB / 1.308 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.816, allocations: 411.3 kB / 1.308 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.8162, allocations: 19.94 kB / 1.309 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/0.8171, allocations: 75.8 kB / 1.309 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8172, allocations: 48.5 kB / 1.309 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.8173, allocations: 35.97 kB / 1.309 GB, free: 15.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001959/0.8193, allocations: 1.473 MB / 1.31 GB, free: 13.61 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8193, allocations: 0 / 1.31 GB, free: 13.61 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002215/0.8215, allocations: 1.033 MB / 1.311 GB, free: 12.57 MB / 1.045 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.s[1],mov.filter.s[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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005555/0.8271, allocations: 2.908 MB / 1.314 GB, free: 9.758 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.831, allocations: 2.1 MB / 1.316 GB, free: 7.637 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.831, allocations: 4 kB / 1.316 GB, free: 7.633 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.8321, allocations: 0.5384 MB / 1.317 GB, free: 7.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/0.8356, allocations: 0.9714 MB / 1.317 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/0.857, allocations: 14.73 MB / 1.332 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.8583, allocations: 1.542 MB / 1.333 GB, free: 5.297 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001614/0.8599, allocations: 0.5202 MB / 1.334 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.861, allocations: 0.8585 MB / 1.335 GB, free: 3.914 MB / 1.061 GB Notification: Performance of SimCode: time 2.174e-06/0.861, allocations: 0 / 1.335 GB, free: 3.914 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.798/5.659, allocations: 56.16 MB / 1.39 GB, free: 12.28 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.45/26.11, allocations: 11.94 kB / 1.39 GB, free: 12.27 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)