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.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001139/0.001139, allocations: 189.1 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009117/0.0009117, allocations: 88.75 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 9.688 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8144/1.017, allocations: 447.1 MB / 1.337 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.017, allocations: 102.8 kB / 1.337 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.873/4.891, allocations: 1.139 GB / 2.476 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.704e-06/4.891, allocations: 0 / 2.476 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002374/4.891, allocations: 54.64 kB / 2.476 GB, free: 133.2 MB / 0.8855 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.006435/4.898, allocations: 2.577 MB / 2.478 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/4.898, allocations: 11.62 kB / 2.478 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003758/4.898, allocations: 167.2 kB / 2.478 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/4.9, allocations: 454.2 kB / 2.479 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/4.907, allocations: 2.32 MB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/4.907, allocations: 87.38 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/4.907, allocations: 127.5 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/4.909, allocations: 1.317 MB / 2.483 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/4.909, allocations: 5.531 kB / 2.483 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/4.909, allocations: 50.7 kB / 2.483 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/4.909, allocations: 33.12 kB / 2.483 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/4.911, allocations: 0.9625 MB / 2.484 GB, free: 131.4 MB / 0.8855 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.008333/4.92, allocations: 6.872 MB / 2.49 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/4.922, allocations: 1.277 MB / 2.491 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004369/4.926, allocations: 2.884 MB / 2.494 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008207/4.927, allocations: 412.8 kB / 2.495 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000749/4.928, allocations: 84.09 kB / 2.495 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/4.928, allocations: 0 / 2.495 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.00253/4.93, allocations: 1.129 MB / 2.496 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/4.93, allocations: 163.4 kB / 2.496 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/4.932, allocations: 1.358 MB / 2.497 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/4.933, allocations: 41.86 kB / 2.497 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008573/4.933, allocations: 0.8899 MB / 2.498 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/4.934, allocations: 213 kB / 2.498 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/4.934, allocations: 17.31 kB / 2.498 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001257/4.934, allocations: 353.9 kB / 2.499 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/4.934, allocations: 322.1 kB / 2.499 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/4.935, allocations: 0.7649 MB / 2.5 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/4.936, allocations: 464.8 kB / 2.5 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/4.936, allocations: 3.938 kB / 2.5 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00226/4.939, allocations: 1.228 MB / 2.502 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009733/4.94, allocations: 4.543 MB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/4.94, allocations: 25.7 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/4.94, allocations: 19.62 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/4.941, allocations: 248.2 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/4.941, allocations: 22.28 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/4.942, allocations: 121.5 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/4.942, allocations: 55.88 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/4.942, allocations: 9.156 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001977/4.944, allocations: 1.043 MB / 2.507 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/4.944, allocations: 13.5 kB / 2.507 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/4.944, allocations: 19.84 kB / 2.507 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/4.945, allocations: 249.2 kB / 2.508 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/4.945, allocations: 22.77 kB / 2.508 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/4.946, allocations: 108.8 kB / 2.508 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/4.946, allocations: 58.03 kB / 2.508 GB, free: 117.8 MB / 0.8855 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.001104/4.947, allocations: 491.4 kB / 2.508 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/4.948, allocations: 166.1 kB / 2.509 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/4.95, allocations: 1.057 MB / 2.51 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/4.95, allocations: 11.41 kB / 2.51 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/4.95, allocations: 0 / 2.51 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001375/4.951, allocations: 0.9011 MB / 2.51 GB, free: 117.2 MB / 0.8855 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.003795/4.955, allocations: 2.269 MB / 2.513 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/4.955, allocations: 0 / 2.513 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/4.956, allocations: 134 kB / 2.513 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/4.956, allocations: 29.61 kB / 2.513 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/4.956, allocations: 21.36 kB / 2.513 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008727/4.957, allocations: 1.32 MB / 2.514 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/4.957, allocations: 0 / 2.514 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/4.959, allocations: 1.478 MB / 2.516 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000866/4.96, allocations: 344.3 kB / 2.516 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/4.961, allocations: 20.33 kB / 2.516 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/4.962, allocations: 97.62 kB / 2.516 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/4.962, allocations: 59.8 kB / 2.516 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/4.962, allocations: 28.94 kB / 2.516 GB, free: 115 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001623/4.963, allocations: 1.099 MB / 2.517 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/4.963, allocations: 2.75 kB / 2.517 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003676/4.967, allocations: 1.025 MB / 2.518 GB, free: 114.7 MB / 0.8855 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.005107/4.972, allocations: 3.394 MB / 2.522 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00282/4.975, allocations: 1.554 MB / 2.523 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/4.975, allocations: 2.438 kB / 2.523 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008797/4.976, allocations: 0.504 MB / 2.524 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/4.979, allocations: 0.7377 MB / 2.524 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008147/4.987, allocations: 12.57 MB / 2.537 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/4.988, allocations: 1.41 MB / 2.538 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001936/4.99, allocations: 428.5 kB / 2.538 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008337/4.991, allocations: 0.7214 MB / 2.539 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of SimCode: time 6.82e-07/4.991, allocations: 0 / 2.539 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08406/5.075, allocations: 53.2 MB / 2.591 GB, free: 99.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/5.075, allocations: 254.8 kB / 2.591 GB, free: 99.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/9.512, allocations: 2.812 kB / 2.591 GB, free: 99.42 MB / 0.8855 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)