Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.665/2.665, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001506/0.001506, allocations: 180.9 kB / 360.6 MB, free: 7.281 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.121/2.121, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001135/0.001134, allocations: 88 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.374e-05, allocations: 4 kB / 0.8508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8218, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.007/7.829, allocations: 2.356 GB / 3.32 GB, free: 125.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/7.83, allocations: 93.06 kB / 3.32 GB, free: 125.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.071/12.9, allocations: 0.9197 GB / 4.24 GB, free: 170.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.116e-06/12.9, allocations: 2.672 kB / 4.24 GB, free: 170.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008729/12.9, allocations: 120.7 kB / 4.24 GB, free: 170.1 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01869/12.92, allocations: 4.249 MB / 4.244 GB, free: 168.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/12.92, allocations: 9.844 kB / 4.244 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/12.93, allocations: 1.15 MB / 4.245 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/12.96, allocations: 5.338 MB / 4.25 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/12.96, allocations: 119.2 kB / 4.25 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/12.96, allocations: 220.6 kB / 4.251 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01422/12.97, allocations: 4.308 MB / 4.255 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/12.99, allocations: 4.491 MB / 4.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/12.99, allocations: 11.66 kB / 4.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007639/12.99, allocations: 7.156 kB / 4.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/12.99, allocations: 182.6 kB / 4.259 GB, free: 167.2 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.05102/13.04, allocations: 18.77 MB / 4.278 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007884/13.05, allocations: 3.145 MB / 4.281 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/13.05, allocations: 1.587 MB / 4.282 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002854/13.06, allocations: 1.86 MB / 4.284 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005696/13.06, allocations: 1.76 MB / 4.286 GB, free: 158.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 9.669e-06/13.06, allocations: 0 / 4.286 GB, free: 158.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.1251/13.19, allocations: 7.304 MB / 4.293 GB, free: 158.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/13.19, allocations: 289.3 kB / 4.293 GB, free: 157.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006788/13.19, allocations: 2.958 MB / 4.296 GB, free: 157.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009239/13.19, allocations: 29.58 kB / 4.296 GB, free: 157.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002468/13.2, allocations: 1.937 MB / 4.298 GB, free: 156.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001639/13.2, allocations: 0.8834 MB / 4.299 GB, free: 156.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/13.2, allocations: 0 / 4.299 GB, free: 156.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002178/13.2, allocations: 417.4 kB / 4.299 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/13.2, allocations: 1.267 MB / 4.301 GB, free: 155.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/13.21, allocations: 1.926 MB / 4.302 GB, free: 155.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1185/13.32, allocations: 5.963 MB / 4.308 GB, free: 155.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.47e-05/13.32, allocations: 3.781 kB / 4.308 GB, free: 155.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.1358/13.46, allocations: 7.982 MB / 4.316 GB, free: 154.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001495/13.46, allocations: 7.285 MB / 4.323 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.989e-05/13.46, allocations: 15.38 kB / 4.323 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/13.46, allocations: 114.6 kB / 4.323 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007799/13.47, allocations: 0.7924 MB / 4.324 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/13.47, allocations: 2.1 MB / 4.326 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007864/13.48, allocations: 428.1 kB / 4.327 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007583/13.48, allocations: 142.7 kB / 4.327 GB, free: 145.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/13.48, allocations: 6.312 kB / 4.327 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1252/13.61, allocations: 7.609 MB / 4.334 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/13.61, allocations: 17.94 kB / 4.334 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009384/13.61, allocations: 112.3 kB / 4.334 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007248/13.62, allocations: 0.777 MB / 4.335 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/13.62, allocations: 1.506 MB / 4.336 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007326/13.63, allocations: 384.4 kB / 4.337 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008796/13.63, allocations: 142.5 kB / 4.337 GB, free: 143.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 363 * 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.00109/13.63, allocations: 175.6 kB / 4.337 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1247/13.75, allocations: 7.303 MB / 4.344 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/13.75, allocations: 359.8 kB / 4.345 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1268/13.88, allocations: 8.026 MB / 4.352 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/13.88, allocations: 30.12 kB / 4.352 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/13.88, allocations: 8.625 kB / 4.353 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1219/14, allocations: 7.248 MB / 4.36 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1354/14.14, allocations: 12.24 MB / 4.372 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/14.14, allocations: 0 / 4.372 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006109/14.15, allocations: 0.6245 MB / 4.372 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008231/14.15, allocations: 83.39 kB / 4.372 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/14.15, allocations: 65.28 kB / 4.372 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/14.15, allocations: 2.081 MB / 4.374 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/14.15, allocations: 10.48 kB / 4.374 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1287/14.28, allocations: 9.521 MB / 4.384 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004535/14.28, allocations: 1.057 MB / 4.385 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/14.28, allocations: 13.97 kB / 4.385 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007476/14.29, allocations: 278.1 kB / 4.385 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008772/14.29, allocations: 178.2 kB / 4.385 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005999/14.29, allocations: 133.5 kB / 4.385 GB, free: 136.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005538/14.3, allocations: 2.279 MB / 4.387 GB, free: 135.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.082e-06/14.3, allocations: 0 / 4.387 GB, free: 135.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01277/14.31, allocations: 2.317 MB / 4.39 GB, free: 135.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.134/14.45, allocations: 11.79 MB / 4.401 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01444/14.46, allocations: 5.254 MB / 4.406 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/14.46, allocations: 6.328 kB / 4.406 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/14.46, allocations: 1.661 MB / 4.408 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/14.48, allocations: 1.746 MB / 4.41 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/14.51, allocations: 8.812 MB / 4.418 GB, free: 123.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004475/14.51, allocations: 3.108 MB / 4.421 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0175/14.53, allocations: 2.75 MB / 4.424 GB, free: 119.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004924/14.54, allocations: 1.802 MB / 4.426 GB, free: 117.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/14.54, allocations: 0 / 4.426 GB, free: 117.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2615/14.8, allocations: 115.4 MB / 4.539 GB, free: 13.82 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/14.8, allocations: 179.9 kB / 4.539 GB, free: 13.63 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/23.38, allocations: 0 / 4.539 GB, free: 13.63 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)