Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_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.908/1.908, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001152/0.001152, allocations: 171.8 kB / 361.4 MB, free: 6.836 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.821/1.821, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009151/0.000915, allocations: 87.73 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7336, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.932, allocations: 453.8 MB / 1.408 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.932, allocations: 90.95 kB / 1.408 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.276/6.208, allocations: 1.162 GB / 2.569 GB, free: 121.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.865e-06/6.208, allocations: 3.984 kB / 2.569 GB, free: 121.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003772/6.209, allocations: 51.38 kB / 2.569 GB, free: 121.4 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.005712/6.215, allocations: 2.082 MB / 2.571 GB, free: 119.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/6.215, allocations: 12.03 kB / 2.571 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/6.217, allocations: 463.3 kB / 2.572 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006748/6.224, allocations: 2.288 MB / 2.574 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/6.224, allocations: 40 kB / 2.574 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/6.224, allocations: 72 kB / 2.574 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00192/6.226, allocations: 0.7765 MB / 2.575 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/6.229, allocations: 1.096 MB / 2.576 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/6.229, allocations: 3.953 kB / 2.576 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/6.229, allocations: 8 kB / 2.576 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/6.229, allocations: 31.94 kB / 2.576 GB, free: 114.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008703/6.238, allocations: 6.683 MB / 2.583 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/6.239, allocations: 1.147 MB / 2.584 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/6.239, allocations: 301.1 kB / 2.584 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004359/6.243, allocations: 2.872 MB / 2.587 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/6.244, allocations: 336.4 kB / 2.587 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007535/6.245, allocations: 70.69 kB / 2.587 GB, free: 102.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.368e-06/6.245, allocations: 0 / 2.587 GB, free: 102.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.005174/6.25, allocations: 1.3 MB / 2.588 GB, free: 100.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/6.25, allocations: 165.8 kB / 2.589 GB, free: 100.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/6.252, allocations: 1.244 MB / 2.59 GB, free: 99.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/6.252, allocations: 29.7 kB / 2.59 GB, free: 99.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/6.253, allocations: 0.884 MB / 2.591 GB, free: 98.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/6.253, allocations: 209 kB / 2.591 GB, free: 98.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/6.253, allocations: 0 / 2.591 GB, free: 98.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/6.254, allocations: 341.9 kB / 2.591 GB, free: 97.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/6.254, allocations: 265.7 kB / 2.591 GB, free: 97.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/6.255, allocations: 0.6857 MB / 2.592 GB, free: 96.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/6.259, allocations: 0.9977 MB / 2.593 GB, free: 95.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/6.259, allocations: 4 kB / 2.593 GB, free: 95.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005711/6.265, allocations: 1.634 MB / 2.595 GB, free: 94.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009789/6.266, allocations: 4.541 MB / 2.599 GB, free: 89.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/6.266, allocations: 18.92 kB / 2.599 GB, free: 89.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/6.266, allocations: 20 kB / 2.599 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/6.267, allocations: 247.6 kB / 2.599 GB, free: 89.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/6.267, allocations: 27.88 kB / 2.599 GB, free: 89.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/6.268, allocations: 103.7 kB / 2.6 GB, free: 88.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/6.269, allocations: 51.98 kB / 2.6 GB, free: 88.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/6.269, allocations: 4.625 kB / 2.6 GB, free: 88.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005086/6.274, allocations: 1.424 MB / 2.601 GB, free: 87.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/6.274, allocations: 15.98 kB / 2.601 GB, free: 87.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/6.274, allocations: 16 kB / 2.601 GB, free: 87.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/6.275, allocations: 243.6 kB / 2.601 GB, free: 87.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/6.275, allocations: 24.14 kB / 2.601 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/6.276, allocations: 87.86 kB / 2.601 GB, free: 87.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/6.276, allocations: 55.98 kB / 2.601 GB, free: 87.02 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002868/6.277, allocations: 140.6 kB / 2.602 GB, free: 86.88 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005039/6.282, allocations: 1.27 MB / 2.603 GB, free: 85.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/6.282, allocations: 165.9 kB / 2.603 GB, free: 85.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/6.287, allocations: 1.499 MB / 2.604 GB, free: 83.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/6.287, allocations: 4 kB / 2.604 GB, free: 83.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/6.287, allocations: 7.953 kB / 2.604 GB, free: 83.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004271/6.292, allocations: 1.35 MB / 2.606 GB, free: 82.52 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007744/6.3, allocations: 2.555 MB / 2.608 GB, free: 79.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/6.3, allocations: 3.938 kB / 2.608 GB, free: 79.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/6.3, allocations: 135.8 kB / 2.608 GB, free: 79.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/6.3, allocations: 28.84 kB / 2.608 GB, free: 79.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/6.301, allocations: 11.98 kB / 2.608 GB, free: 79.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008341/6.301, allocations: 1.271 MB / 2.61 GB, free: 78.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.301, allocations: 0 / 2.61 GB, free: 78.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/6.307, allocations: 1.873 MB / 2.611 GB, free: 76.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/6.308, allocations: 326.8 kB / 2.612 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004839/6.308, allocations: 8 kB / 2.612 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/6.309, allocations: 79.72 kB / 2.612 GB, free: 76.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/6.309, allocations: 56.17 kB / 2.612 GB, free: 75.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/6.31, allocations: 35.97 kB / 2.612 GB, free: 75.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001831/6.311, allocations: 0.9195 MB / 2.613 GB, free: 75.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/6.311, allocations: 0 / 2.613 GB, free: 75.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00473/6.316, allocations: 0.9975 MB / 2.614 GB, free: 74.04 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,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008323/6.325, allocations: 3.705 MB / 2.617 GB, free: 70.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002104/6.327, allocations: 1.367 MB / 2.619 GB, free: 69.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/6.327, allocations: 0 / 2.619 GB, free: 69.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/6.327, allocations: 432.6 kB / 2.619 GB, free: 68.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/6.331, allocations: 0.6271 MB / 2.62 GB, free: 68.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/6.338, allocations: 2.745 MB / 2.622 GB, free: 65.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/6.339, allocations: 1.406 MB / 2.624 GB, free: 63.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002871/6.342, allocations: 0.5865 MB / 2.624 GB, free: 63.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/6.342, allocations: 0.6945 MB / 2.625 GB, free: 62.62 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/6.342, allocations: 0 / 2.625 GB, free: 62.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08387/6.426, allocations: 48.01 MB / 2.672 GB, free: 15.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/6.426, allocations: 180.4 kB / 2.672 GB, free: 15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.807/10.23, allocations: 0 / 2.672 GB, free: 15 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)