Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 174.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009054/0.0009053, allocations: 97.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003832, allocations: 8.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.598/6.899, allocations: 2.474 GB / 3.374 GB, free: 34.27 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004392/6.899, allocations: 100.4 kB / 3.374 GB, free: 34.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.411/11.31, allocations: 0.906 GB / 4.28 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.067e-06/11.31, allocations: 3.938 kB / 4.28 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001138/11.31, allocations: 125.5 kB / 4.281 GB, free: 176.1 MB / 0.8855 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.02587/11.34, allocations: 5.063 MB / 4.285 GB, free: 171 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.626e-05/11.34, allocations: 8.031 kB / 4.285 GB, free: 171 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003792/11.34, allocations: 0.5213 MB / 4.286 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008976/11.35, allocations: 1.145 MB / 4.287 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01822/11.37, allocations: 5.35 MB / 4.292 GB, free: 164 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/11.37, allocations: 283.2 kB / 4.293 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/11.37, allocations: 371.9 kB / 4.293 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/11.38, allocations: 5.261 MB / 4.298 GB, free: 158 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/11.38, allocations: 15.84 kB / 4.298 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005592/11.38, allocations: 154.5 kB / 4.298 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/11.38, allocations: 175.2 kB / 4.298 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/11.4, allocations: 5.145 MB / 4.303 GB, free: 152.5 MB / 0.8855 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.03995/11.44, allocations: 19.44 MB / 4.322 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007535/11.45, allocations: 3.638 MB / 4.326 GB, free: 129 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/11.45, allocations: 1.868 MB / 4.328 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004331/11.45, allocations: 1.984 MB / 4.33 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=266): time 6.532e-06/11.45, allocations: 0 / 4.33 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=266): time 0.01204/11.46, allocations: 4.976 MB / 4.335 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/11.46, allocations: 283.1 kB / 4.335 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006117/11.47, allocations: 3.456 MB / 4.338 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009416/11.47, allocations: 77.7 kB / 4.338 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/11.47, allocations: 1.953 MB / 4.34 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/11.48, allocations: 0.9073 MB / 4.341 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/11.48, allocations: 60 kB / 4.341 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002231/11.48, allocations: 427.9 kB / 4.342 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/11.48, allocations: 1.501 MB / 4.343 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/11.48, allocations: 2.197 MB / 4.345 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/11.49, allocations: 1.84 MB / 4.347 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/11.49, allocations: 4 kB / 4.347 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.009342/11.49, allocations: 4.265 MB / 4.351 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001896/11.5, allocations: 7.405 MB / 4.358 GB, free: 94.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/11.5, allocations: 16 kB / 4.358 GB, free: 94.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/11.5, allocations: 124.7 kB / 4.359 GB, free: 94.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/11.5, allocations: 0.7801 MB / 4.359 GB, free: 93.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/11.5, allocations: 2.168 MB / 4.361 GB, free: 90.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00584/11.51, allocations: 0.5042 MB / 4.362 GB, free: 90.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000814/11.51, allocations: 143.9 kB / 4.362 GB, free: 90.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/11.51, allocations: 5.406 kB / 4.362 GB, free: 90.34 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00842/11.52, allocations: 3.932 MB / 4.366 GB, free: 86.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/11.52, allocations: 20.12 kB / 4.366 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/11.52, allocations: 112.8 kB / 4.366 GB, free: 86.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/11.52, allocations: 0.78 MB / 4.367 GB, free: 85.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/11.53, allocations: 1.595 MB / 4.368 GB, free: 83.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/11.53, allocations: 468.8 kB / 4.369 GB, free: 83.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005145/11.53, allocations: 147.9 kB / 4.369 GB, free: 83.12 MB / 0.8855 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 () * Number of clocked 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.003987/11.54, allocations: 1.499 MB / 4.37 GB, free: 81.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/11.54, allocations: 383.4 kB / 4.371 GB, free: 81.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009648/11.55, allocations: 4.29 MB / 4.375 GB, free: 76.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/11.55, allocations: 31.98 kB / 4.375 GB, free: 76.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/11.55, allocations: 0 / 4.375 GB, free: 76.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006674/11.55, allocations: 3.414 MB / 4.378 GB, free: 73.35 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/11.57, allocations: 8.872 MB / 4.387 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/11.57, allocations: 0 / 4.387 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/11.58, allocations: 0.6203 MB / 4.388 GB, free: 63.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005416/11.58, allocations: 96.7 kB / 4.388 GB, free: 63.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/11.58, allocations: 87.42 kB / 4.388 GB, free: 63.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/11.58, allocations: 2.17 MB / 4.39 GB, free: 61.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/11.58, allocations: 3.938 kB / 4.39 GB, free: 61.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/11.59, allocations: 5.951 MB / 4.396 GB, free: 55.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004291/11.6, allocations: 1.065 MB / 4.397 GB, free: 54.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/11.6, allocations: 63.98 kB / 4.397 GB, free: 54.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004371/11.6, allocations: 323.3 kB / 4.397 GB, free: 53.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/11.6, allocations: 181.9 kB / 4.397 GB, free: 53.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003202/11.6, allocations: 119.9 kB / 4.397 GB, free: 53.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005044/11.61, allocations: 2.728 MB / 4.4 GB, free: 50.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/11.61, allocations: 0 / 4.4 GB, free: 50.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01107/11.62, allocations: 2.419 MB / 4.402 GB, free: 48.32 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01682/11.64, allocations: 8.214 MB / 4.41 GB, free: 40.37 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01293/11.65, allocations: 5.954 MB / 4.416 GB, free: 34.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/11.65, allocations: 4.562 kB / 4.416 GB, free: 34.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/11.65, allocations: 1.91 MB / 4.418 GB, free: 32.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/11.66, allocations: 2.016 MB / 4.42 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8215/12.49, allocations: 43.7 MB / 4.463 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/12.49, allocations: 3.11 MB / 4.466 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009096/12.5, allocations: 2.042 MB / 4.468 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00454/12.5, allocations: 1.862 MB / 4.47 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.272e-06/12.5, allocations: 0 / 4.47 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.246/12.75, allocations: 130.9 MB / 4.597 GB, free: 147 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/12.75, allocations: 257.2 kB / 4.598 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/19.31, allocations: 7.938 kB / 4.598 GB, free: 146.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)