Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.716/1.716, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.002252/0.002252, allocations: 182.2 kB / 371.8 MB, free: 10.25 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.069/2.069, allocations: 205.4 MB / 0.6305 GB, free: 9.957 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.0009499/0.0009505, allocations: 95.44 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004422, allocations: 18.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3049, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.976/6.28, allocations: 2.11 GB / 3.089 GB, free: 197.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/6.281, allocations: 99.95 kB / 3.089 GB, free: 197.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.093/12.37, allocations: 1.414 GB / 4.503 GB, free: 139.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.808e-06/12.37, allocations: 7.125 kB / 4.503 GB, free: 139.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009226/12.37, allocations: 125 kB / 4.504 GB, free: 139.3 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0251/12.4, allocations: 6.352 MB / 4.51 GB, free: 136.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/12.4, allocations: 9.625 kB / 4.51 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003776/12.4, allocations: 0.5264 MB / 4.51 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/12.42, allocations: 1.599 MB / 4.512 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/12.44, allocations: 5.255 MB / 4.517 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/12.44, allocations: 282.2 kB / 4.517 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/12.44, allocations: 376 kB / 4.518 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/12.45, allocations: 5.453 MB / 4.523 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-05/12.45, allocations: 6.094 kB / 4.523 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006075/12.45, allocations: 162.5 kB / 4.523 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/12.45, allocations: 156.9 kB / 4.523 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/12.47, allocations: 5.326 MB / 4.528 GB, free: 135.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.03481/12.5, allocations: 19.21 MB / 4.547 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/12.51, allocations: 3.819 MB / 4.551 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002218/12.51, allocations: 2.534 MB / 4.553 GB, free: 126.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004456/12.52, allocations: 2.117 MB / 4.555 GB, free: 126.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 6.291e-06/12.52, allocations: 3.938 kB / 4.555 GB, free: 126.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.01636/12.53, allocations: 6.816 MB / 4.562 GB, free: 125.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/12.53, allocations: 298.5 kB / 4.562 GB, free: 124.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/12.54, allocations: 3.355 MB / 4.566 GB, free: 124 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008025/12.54, allocations: 81.77 kB / 4.566 GB, free: 124 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/12.54, allocations: 1.944 MB / 4.568 GB, free: 122.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/12.54, allocations: 0.966 MB / 4.569 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/12.54, allocations: 58.78 kB / 4.569 GB, free: 121.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001735/12.54, allocations: 430.5 kB / 4.569 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/12.55, allocations: 1.596 MB / 4.571 GB, free: 120.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/12.55, allocations: 2.245 MB / 4.573 GB, free: 119.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/12.55, allocations: 1.933 MB / 4.575 GB, free: 118.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/12.55, allocations: 3.938 kB / 4.575 GB, free: 118.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01072/12.56, allocations: 4.476 MB / 4.579 GB, free: 117.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001938/12.57, allocations: 6.548 MB / 4.585 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/12.57, allocations: 14.12 kB / 4.585 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007258/12.57, allocations: 107.9 kB / 4.586 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/12.57, allocations: 0.8003 MB / 4.586 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/12.57, allocations: 2.178 MB / 4.589 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/12.58, allocations: 0.5235 MB / 4.589 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/12.58, allocations: 155.1 kB / 4.589 GB, free: 107.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/12.58, allocations: 8.844 kB / 4.589 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009042/12.59, allocations: 4.13 MB / 4.593 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/12.59, allocations: 17.19 kB / 4.593 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/12.59, allocations: 115.1 kB / 4.593 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/12.59, allocations: 0.7885 MB / 4.594 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/12.6, allocations: 1.577 MB / 4.596 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/12.6, allocations: 0.496 MB / 4.596 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005094/12.6, allocations: 157.8 kB / 4.596 GB, free: 104.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003673/12.61, allocations: 1.511 MB / 4.598 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/12.61, allocations: 391.2 kB / 4.598 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/12.62, allocations: 5.143 MB / 4.603 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/12.62, allocations: 33.2 kB / 4.603 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/12.62, allocations: 2.875 kB / 4.603 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01048/12.63, allocations: 4.065 MB / 4.607 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03122/12.66, allocations: 9.951 MB / 4.617 GB, free: 94.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/12.66, allocations: 3.938 kB / 4.617 GB, free: 94.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/12.67, allocations: 0.6177 MB / 4.617 GB, free: 94.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/12.67, allocations: 0.6687 MB / 4.618 GB, free: 93.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006294/12.67, allocations: 93.09 kB / 4.618 GB, free: 93.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/12.67, allocations: 7.557 MB / 4.626 GB, free: 85.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/12.67, allocations: 3.062 kB / 4.626 GB, free: 85.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/12.69, allocations: 6.797 MB / 4.632 GB, free: 80.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005295/12.7, allocations: 1.135 MB / 4.633 GB, free: 79.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002607/12.7, allocations: 63.52 kB / 4.633 GB, free: 78.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006443/12.7, allocations: 319.2 kB / 4.634 GB, free: 78.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006966/12.71, allocations: 184.8 kB / 4.634 GB, free: 78.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007577/12.71, allocations: 136.2 kB / 4.634 GB, free: 78.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006885/12.71, allocations: 2.645 MB / 4.637 GB, free: 76.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/12.71, allocations: 3.938 kB / 4.637 GB, free: 76.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01519/12.73, allocations: 2.87 MB / 4.639 GB, free: 73.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02187/12.75, allocations: 8.991 MB / 4.648 GB, free: 65.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01524/12.77, allocations: 6.287 MB / 4.654 GB, free: 60.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/12.77, allocations: 4.562 kB / 4.654 GB, free: 60.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/12.77, allocations: 2.158 MB / 4.656 GB, free: 58.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/12.78, allocations: 1.935 MB / 4.658 GB, free: 56.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/12.82, allocations: 25.09 MB / 4.683 GB, free: 30.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004808/12.83, allocations: 3.143 MB / 4.686 GB, free: 27.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01156/12.84, allocations: 2.407 MB / 4.688 GB, free: 25.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005193/12.84, allocations: 1.936 MB / 4.69 GB, free: 23.16 MB / 0.948 GB Notification: Performance of SimCode: time 1.036e-05/12.84, allocations: 0 / 4.69 GB, free: 23.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8612/13.7, allocations: 132.7 MB / 4.82 GB, free: 144.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/13.7, allocations: 263.9 kB / 4.82 GB, free: 144.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/20.61, allocations: 1.312 kB / 4.82 GB, free: 144.5 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)