Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.662/2.662, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.00153/0.00153, allocations: 177.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001207/0.001207, allocations: 100.1 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006491, allocations: 12.28 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2217, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.365/1.587, allocations: 454.4 MB / 1.422 GB, free: 8.426 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/1.587, allocations: 104.5 kB / 1.422 GB, free: 8.367 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.634/8.221, allocations: 1.171 GB / 2.593 GB, free: 141.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/8.221, allocations: 0 / 2.593 GB, free: 141.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004215/8.221, allocations: 50.77 kB / 2.593 GB, free: 141.7 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.01027/8.232, allocations: 2.572 MB / 2.596 GB, free: 140.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/8.232, allocations: 10.88 kB / 2.596 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006926/8.232, allocations: 177.5 kB / 2.596 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/8.236, allocations: 456.1 kB / 2.596 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/8.246, allocations: 2.319 MB / 2.598 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/8.247, allocations: 92.84 kB / 2.599 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/8.247, allocations: 127.5 kB / 2.599 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/8.251, allocations: 1.321 MB / 2.6 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.907e-05/8.251, allocations: 3.281 kB / 2.6 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/8.251, allocations: 52.05 kB / 2.6 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/8.251, allocations: 29.06 kB / 2.6 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/8.255, allocations: 0.9641 MB / 2.601 GB, free: 140 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.01345/8.269, allocations: 6.881 MB / 2.608 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/8.272, allocations: 1.266 MB / 2.609 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006831/8.279, allocations: 2.885 MB / 2.612 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/8.281, allocations: 415 kB / 2.612 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001067/8.282, allocations: 99.36 kB / 2.612 GB, free: 133.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.91e-06/8.282, allocations: 3.562 kB / 2.612 GB, free: 133.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004797/8.287, allocations: 1.122 MB / 2.613 GB, free: 133.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/8.287, allocations: 165.2 kB / 2.613 GB, free: 132.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/8.29, allocations: 1.359 MB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002762/8.29, allocations: 41.83 kB / 2.615 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/8.291, allocations: 0.8873 MB / 2.616 GB, free: 132.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/8.291, allocations: 224.5 kB / 2.616 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/8.292, allocations: 17.97 kB / 2.616 GB, free: 132.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/8.292, allocations: 346 kB / 2.616 GB, free: 132 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/8.293, allocations: 327.6 kB / 2.617 GB, free: 132 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/8.295, allocations: 0.7685 MB / 2.617 GB, free: 131.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/8.296, allocations: 454.9 kB / 2.618 GB, free: 131.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/8.296, allocations: 5.812 kB / 2.618 GB, free: 131.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004203/8.301, allocations: 1.222 MB / 2.619 GB, free: 131.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001058/8.302, allocations: 4.543 MB / 2.623 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.605e-05/8.302, allocations: 21.83 kB / 2.623 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/8.302, allocations: 17.34 kB / 2.623 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/8.304, allocations: 249.4 kB / 2.624 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/8.304, allocations: 23.73 kB / 2.624 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/8.306, allocations: 119.5 kB / 2.624 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/8.306, allocations: 57.61 kB / 2.624 GB, free: 126.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/8.306, allocations: 3.938 kB / 2.624 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003551/8.31, allocations: 1.045 MB / 2.625 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/8.31, allocations: 21.27 kB / 2.625 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/8.31, allocations: 18.59 kB / 2.625 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/8.312, allocations: 242.2 kB / 2.625 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/8.312, allocations: 28.48 kB / 2.625 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/8.314, allocations: 115.5 kB / 2.625 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/8.315, allocations: 57.53 kB / 2.625 GB, free: 126.4 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.001384/8.316, allocations: 491.3 kB / 2.626 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/8.316, allocations: 170.3 kB / 2.626 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/8.32, allocations: 1.06 MB / 2.627 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/8.321, allocations: 9.469 kB / 2.627 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/8.321, allocations: 0 / 2.627 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002751/8.323, allocations: 0.8996 MB / 2.628 GB, free: 125.8 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.006897/8.33, allocations: 2.275 MB / 2.63 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/8.33, allocations: 3.375 kB / 2.63 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/8.332, allocations: 134.4 kB / 2.63 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/8.332, allocations: 29.34 kB / 2.63 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.354e-05/8.332, allocations: 21.62 kB / 2.63 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/8.333, allocations: 1.311 MB / 2.632 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/8.333, allocations: 2.969 kB / 2.632 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/8.338, allocations: 1.48 MB / 2.633 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/8.339, allocations: 349.1 kB / 2.633 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005642/8.34, allocations: 14.84 kB / 2.633 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/8.342, allocations: 107.6 kB / 2.633 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/8.342, allocations: 57.91 kB / 2.634 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/8.342, allocations: 30.97 kB / 2.634 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002744/8.345, allocations: 1.105 MB / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/8.345, allocations: 0 / 2.635 GB, free: 123.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005815/8.351, allocations: 1.03 MB / 2.636 GB, free: 123.3 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.008848/8.36, allocations: 3.391 MB / 2.639 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005017/8.365, allocations: 1.56 MB / 2.641 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/8.365, allocations: 0 / 2.641 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/8.367, allocations: 0.5027 MB / 2.641 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/8.373, allocations: 0.7439 MB / 2.642 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/8.387, allocations: 12.59 MB / 2.654 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/8.388, allocations: 1.405 MB / 2.655 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003255/8.391, allocations: 435.3 kB / 2.656 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/8.393, allocations: 0.7228 MB / 2.657 GB, free: 110.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/8.393, allocations: 0 / 2.657 GB, free: 110.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/8.523, allocations: 53.35 MB / 2.709 GB, free: 108.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/8.523, allocations: 256.4 kB / 2.709 GB, free: 108.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.079/13.6, allocations: 0 / 2.709 GB, free: 108.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)