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.676/1.676, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001194/0.001194, allocations: 182 kB / 371.8 MB, free: 10.3 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.468/1.468, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0007842/0.0007842, allocations: 89.17 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 12.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/0.9726, allocations: 454.6 MB / 1.423 GB, free: 7.043 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.9728, allocations: 102.8 kB / 1.423 GB, free: 6.988 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278/5.251, allocations: 1.171 GB / 2.594 GB, free: 141.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.22e-06/5.251, allocations: 0 / 2.594 GB, free: 141.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000482/5.251, allocations: 53.05 kB / 2.594 GB, free: 141.9 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.009778/5.261, allocations: 2.573 MB / 2.597 GB, free: 140.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/5.261, allocations: 9.625 kB / 2.597 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007574/5.262, allocations: 174.2 kB / 2.597 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/5.265, allocations: 462.6 kB / 2.598 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008882/5.274, allocations: 2.314 MB / 2.6 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/5.274, allocations: 90.88 kB / 2.6 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/5.275, allocations: 124.7 kB / 2.6 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/5.278, allocations: 1.323 MB / 2.601 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/5.279, allocations: 0.9375 kB / 2.601 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/5.279, allocations: 54.11 kB / 2.601 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/5.279, allocations: 33.67 kB / 2.601 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/5.281, allocations: 0.9634 MB / 2.602 GB, free: 140.1 MB / 0.948 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.0114/5.293, allocations: 6.887 MB / 2.609 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/5.295, allocations: 1.268 MB / 2.61 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005324/5.3, allocations: 2.89 MB / 2.613 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008813/5.301, allocations: 413.9 kB / 2.614 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001009/5.302, allocations: 90.03 kB / 2.614 GB, free: 133.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 7.414e-06/5.302, allocations: 0 / 2.614 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002982/5.305, allocations: 1.118 MB / 2.615 GB, free: 133.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/5.305, allocations: 167.5 kB / 2.615 GB, free: 133.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/5.308, allocations: 1.361 MB / 2.616 GB, free: 132.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/5.309, allocations: 43.14 kB / 2.616 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/5.31, allocations: 0.8956 MB / 2.617 GB, free: 132.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/5.31, allocations: 215.2 kB / 2.617 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/5.31, allocations: 21.28 kB / 2.617 GB, free: 132.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001042/5.31, allocations: 341.4 kB / 2.618 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/5.311, allocations: 329 kB / 2.618 GB, free: 132.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/5.312, allocations: 0.7682 MB / 2.619 GB, free: 131.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/5.313, allocations: 454.9 kB / 2.619 GB, free: 131.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/5.313, allocations: 2.938 kB / 2.619 GB, free: 131.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003239/5.316, allocations: 1.226 MB / 2.62 GB, free: 131.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001683/5.318, allocations: 4.55 MB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/5.318, allocations: 14.86 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.407e-05/5.318, allocations: 23.52 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/5.319, allocations: 247.8 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-05/5.319, allocations: 21.75 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/5.321, allocations: 122.4 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/5.321, allocations: 56.95 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/5.321, allocations: 5.781 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002296/5.323, allocations: 1.047 MB / 2.626 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/5.323, allocations: 11.84 kB / 2.626 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/5.323, allocations: 19.69 kB / 2.626 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/5.324, allocations: 249.8 kB / 2.627 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/5.324, allocations: 21.27 kB / 2.627 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/5.326, allocations: 116.7 kB / 2.627 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/5.326, allocations: 52.47 kB / 2.627 GB, free: 126.5 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 () * 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.001453/5.328, allocations: 498.8 kB / 2.627 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/5.328, allocations: 167.8 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/5.331, allocations: 1.049 MB / 2.628 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/5.331, allocations: 14.12 kB / 2.628 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/5.331, allocations: 4.844 kB / 2.628 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/5.333, allocations: 0.8942 MB / 2.629 GB, free: 125.9 MB / 0.948 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.005822/5.339, allocations: 2.267 MB / 2.631 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/5.339, allocations: 2.875 kB / 2.631 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/5.34, allocations: 135.9 kB / 2.632 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/5.34, allocations: 36.03 kB / 2.632 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/5.34, allocations: 24.89 kB / 2.632 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/5.341, allocations: 1.313 MB / 2.633 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/5.341, allocations: 2.125 kB / 2.633 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/5.344, allocations: 1.478 MB / 2.634 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/5.346, allocations: 349.4 kB / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/5.347, allocations: 20.75 kB / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/5.348, allocations: 102.1 kB / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/5.348, allocations: 59.22 kB / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/5.348, allocations: 34 kB / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002634/5.351, allocations: 1.096 MB / 2.636 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.351, allocations: 2.906 kB / 2.636 GB, free: 123.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005187/5.356, allocations: 1.032 MB / 2.637 GB, free: 123.4 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) * 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.007142/5.363, allocations: 3.407 MB / 2.64 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003536/5.367, allocations: 1.551 MB / 2.642 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/5.367, allocations: 0 / 2.642 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/5.368, allocations: 0.5072 MB / 2.642 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/5.372, allocations: 0.7311 MB / 2.643 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/5.385, allocations: 12.58 MB / 2.655 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/5.387, allocations: 1.407 MB / 2.657 GB, free: 111 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0027/5.39, allocations: 438.6 kB / 2.657 GB, free: 111 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/5.391, allocations: 0.7188 MB / 2.658 GB, free: 111 MB / 0.948 GB Notification: Performance of SimCode: time 2.765e-05/5.391, allocations: 0 / 2.658 GB, free: 111 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/5.499, allocations: 53.38 MB / 2.71 GB, free: 108.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/5.499, allocations: 265.8 kB / 2.71 GB, free: 108.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/9.971, allocations: 0 / 2.71 GB, free: 108.1 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)