Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.438/2.438, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001533/0.001532, allocations: 176.9 kB / 360.6 MB, free: 7.285 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.002/2.002, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001084/0.001084, allocations: 93.44 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.356e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8155, allocations: 115.3 MB / 0.9634 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/2.159, allocations: 453.8 MB / 1.407 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/2.159, allocations: 94.39 kB / 1.407 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.762/7.921, allocations: 1.162 GB / 2.568 GB, free: 123.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.704e-06/7.921, allocations: 0 / 2.568 GB, free: 123.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003404/7.921, allocations: 47.52 kB / 2.568 GB, free: 123.6 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.006263/7.927, allocations: 2.085 MB / 2.57 GB, free: 121.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/7.927, allocations: 10.16 kB / 2.57 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/7.931, allocations: 462.3 kB / 2.571 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009312/7.94, allocations: 2.289 MB / 2.573 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/7.94, allocations: 36.86 kB / 2.573 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/7.941, allocations: 75.94 kB / 2.573 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00225/7.943, allocations: 0.7852 MB / 2.574 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/7.946, allocations: 1.086 MB / 2.575 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/7.946, allocations: 3.938 kB / 2.575 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/7.946, allocations: 4 kB / 2.575 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/7.946, allocations: 31.5 kB / 2.575 GB, free: 116.7 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.01199/7.958, allocations: 6.68 MB / 2.582 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/7.96, allocations: 1.14 MB / 2.583 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/7.96, allocations: 303.6 kB / 2.583 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00639/7.967, allocations: 2.874 MB / 2.586 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007031/7.968, allocations: 331.9 kB / 2.586 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00089/7.968, allocations: 83.97 kB / 2.586 GB, free: 104.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.439e-06/7.968, allocations: 0 / 2.586 GB, free: 104.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.01166/7.98, allocations: 1.484 MB / 2.588 GB, free: 102.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/7.98, allocations: 162.8 kB / 2.588 GB, free: 102.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/7.983, allocations: 1.244 MB / 2.589 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/7.983, allocations: 28.67 kB / 2.589 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008647/7.984, allocations: 0.8839 MB / 2.59 GB, free: 100.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/7.984, allocations: 205 kB / 2.59 GB, free: 100.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/7.984, allocations: 0 / 2.59 GB, free: 100.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/7.984, allocations: 345.9 kB / 2.591 GB, free: 100 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/7.985, allocations: 258.6 kB / 2.591 GB, free: 99.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/7.986, allocations: 0.6951 MB / 2.591 GB, free: 98.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/7.996, allocations: 1.181 MB / 2.593 GB, free: 97.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/7.996, allocations: 4 kB / 2.593 GB, free: 97.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01258/8.009, allocations: 1.821 MB / 2.594 GB, free: 95.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009995/8.01, allocations: 4.538 MB / 2.599 GB, free: 91.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.227e-05/8.01, allocations: 26.92 kB / 2.599 GB, free: 90.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.79e-05/8.01, allocations: 16 kB / 2.599 GB, free: 90.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/8.012, allocations: 243.6 kB / 2.599 GB, free: 90.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/8.012, allocations: 31.81 kB / 2.599 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/8.014, allocations: 99.67 kB / 2.599 GB, free: 90.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/8.014, allocations: 59.97 kB / 2.599 GB, free: 90.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/8.014, allocations: 4 kB / 2.599 GB, free: 90.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01178/8.026, allocations: 1.602 MB / 2.601 GB, free: 88.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/8.026, allocations: 12.94 kB / 2.601 GB, free: 88.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/8.026, allocations: 16 kB / 2.601 GB, free: 88.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/8.028, allocations: 251.6 kB / 2.601 GB, free: 88.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/8.028, allocations: 19.94 kB / 2.601 GB, free: 88.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/8.03, allocations: 91.84 kB / 2.601 GB, free: 88.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/8.03, allocations: 55.98 kB / 2.601 GB, free: 88.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 () * 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.0003286/8.031, allocations: 148.2 kB / 2.601 GB, free: 88.35 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01136/8.042, allocations: 1.454 MB / 2.603 GB, free: 86.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/8.042, allocations: 161.9 kB / 2.603 GB, free: 86.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/8.054, allocations: 1.674 MB / 2.605 GB, free: 85.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/8.054, allocations: 11.94 kB / 2.605 GB, free: 85.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/8.054, allocations: 7.953 kB / 2.605 GB, free: 85.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01071/8.065, allocations: 1.53 MB / 2.606 GB, free: 83.45 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.01437/8.08, allocations: 2.746 MB / 2.609 GB, free: 80.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/8.08, allocations: 0 / 2.609 GB, free: 80.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/8.082, allocations: 143.8 kB / 2.609 GB, free: 80.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/8.082, allocations: 24.84 kB / 2.609 GB, free: 80.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.939e-05/8.083, allocations: 15.98 kB / 2.609 GB, free: 80.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009837/8.084, allocations: 1.273 MB / 2.61 GB, free: 79.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/8.084, allocations: 32 / 2.61 GB, free: 79.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/8.096, allocations: 2.051 MB / 2.612 GB, free: 77.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/8.097, allocations: 326.9 kB / 2.613 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/8.097, allocations: 7.984 kB / 2.613 GB, free: 76.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/8.099, allocations: 79.72 kB / 2.613 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/8.099, allocations: 60.42 kB / 2.613 GB, free: 76.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/8.099, allocations: 35.2 kB / 2.613 GB, free: 76.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00181/8.101, allocations: 0.9234 MB / 2.614 GB, free: 75.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/8.101, allocations: 0 / 2.614 GB, free: 75.59 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005334/8.106, allocations: 1.004 MB / 2.615 GB, free: 74.59 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,coo.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.01554/8.122, allocations: 3.888 MB / 2.618 GB, free: 70.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002856/8.125, allocations: 1.359 MB / 2.62 GB, free: 69.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/8.125, allocations: 0.75 kB / 2.62 GB, free: 69.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009444/8.126, allocations: 443.9 kB / 2.62 GB, free: 69.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/8.131, allocations: 0.6268 MB / 2.621 GB, free: 68.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/8.139, allocations: 2.729 MB / 2.623 GB, free: 65.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/8.14, allocations: 1.418 MB / 2.625 GB, free: 64.26 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004072/8.144, allocations: 0.5933 MB / 2.625 GB, free: 63.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/8.146, allocations: 0.6906 MB / 2.626 GB, free: 63.02 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/8.146, allocations: 0 / 2.626 GB, free: 63.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/8.281, allocations: 48 MB / 2.673 GB, free: 15.49 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/8.281, allocations: 176.3 kB / 2.673 GB, free: 15.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.815/13.1, allocations: 0 / 2.673 GB, free: 15.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)