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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 179 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.00102/0.001019, allocations: 98.45 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.753e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.46, allocations: 2.474 GB / 3.36 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/6.461, allocations: 96.11 kB / 3.36 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.254/9.715, allocations: 0.8984 GB / 4.258 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/9.715, allocations: 1.438 kB / 4.258 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005751/9.715, allocations: 128.6 kB / 4.258 GB, free: 123.3 MB / 0.8698 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.01179/9.727, allocations: 4.232 MB / 4.262 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/9.727, allocations: 11.31 kB / 4.262 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008184/9.735, allocations: 1.146 MB / 4.264 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/9.751, allocations: 5.316 MB / 4.269 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/9.752, allocations: 120 kB / 4.269 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/9.753, allocations: 220.6 kB / 4.269 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009198/9.762, allocations: 4.306 MB / 4.273 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/9.774, allocations: 4.446 MB / 4.278 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/9.774, allocations: 10.97 kB / 4.278 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005544/9.774, allocations: 6.594 kB / 4.278 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/9.775, allocations: 180.9 kB / 4.278 GB, free: 120.5 MB / 0.8698 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.03135/9.806, allocations: 18.73 MB / 4.296 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/9.81, allocations: 3.143 MB / 4.299 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/9.812, allocations: 1.58 MB / 4.301 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/9.814, allocations: 1.863 MB / 4.303 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/9.816, allocations: 1.728 MB / 4.304 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=266): time 4.85e-06/9.816, allocations: 3.469 kB / 4.304 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=266): time 0.0579/9.874, allocations: 7.304 MB / 4.311 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/9.874, allocations: 293.4 kB / 4.312 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/9.879, allocations: 2.96 MB / 4.315 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006349/9.88, allocations: 29.45 kB / 4.315 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/9.882, allocations: 1.936 MB / 4.316 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/9.883, allocations: 0.8676 MB / 4.317 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/9.883, allocations: 2.938 kB / 4.317 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/9.883, allocations: 425.9 kB / 4.318 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/9.885, allocations: 1.263 MB / 4.319 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/9.887, allocations: 1.934 MB / 4.321 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05409/9.941, allocations: 5.964 MB / 4.327 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/9.941, allocations: 3.938 kB / 4.327 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.05874/10, allocations: 7.985 MB / 4.334 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/10, allocations: 7.289 MB / 4.342 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/10, allocations: 19.56 kB / 4.342 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/10, allocations: 110.6 kB / 4.342 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/10.01, allocations: 0.7903 MB / 4.342 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/10.01, allocations: 2.105 MB / 4.345 GB, free: 98.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/10.01, allocations: 416.3 kB / 4.345 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/10.02, allocations: 145.4 kB / 4.345 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/10.02, allocations: 2.969 kB / 4.345 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05902/10.07, allocations: 7.605 MB / 4.353 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/10.07, allocations: 22.62 kB / 4.353 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/10.07, allocations: 111.1 kB / 4.353 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/10.08, allocations: 0.78 MB / 4.353 GB, free: 98.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/10.08, allocations: 1.508 MB / 4.355 GB, free: 97.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004837/10.08, allocations: 383.2 kB / 4.355 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000503/10.09, allocations: 142.8 kB / 4.355 GB, free: 97.12 MB / 0.8698 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.0008122/10.09, allocations: 180 kB / 4.356 GB, free: 97 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0574/10.14, allocations: 7.302 MB / 4.363 GB, free: 96.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/10.14, allocations: 358.5 kB / 4.363 GB, free: 96.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05831/10.2, allocations: 8.029 MB / 4.371 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/10.2, allocations: 29.39 kB / 4.371 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/10.2, allocations: 0 / 4.371 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05623/10.26, allocations: 7.242 MB / 4.378 GB, free: 95.01 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06575/10.33, allocations: 12.21 MB / 4.39 GB, free: 94.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/10.33, allocations: 0 / 4.39 GB, free: 94.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/10.33, allocations: 0.6256 MB / 4.39 GB, free: 94.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/10.33, allocations: 90.64 kB / 4.391 GB, free: 94.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/10.33, allocations: 58.36 kB / 4.391 GB, free: 94.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/10.33, allocations: 2.086 MB / 4.393 GB, free: 92.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/10.33, allocations: 4.719 kB / 4.393 GB, free: 92.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05976/10.39, allocations: 9.532 MB / 4.402 GB, free: 91.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/10.39, allocations: 1.026 MB / 4.403 GB, free: 91.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007572/10.39, allocations: 18.48 kB / 4.403 GB, free: 91.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/10.4, allocations: 281.8 kB / 4.403 GB, free: 91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/10.4, allocations: 172.4 kB / 4.403 GB, free: 90.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/10.4, allocations: 125 kB / 4.404 GB, free: 90.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002893/10.4, allocations: 2.28 MB / 4.406 GB, free: 90.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/10.4, allocations: 4 kB / 4.406 GB, free: 90.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006865/10.41, allocations: 2.306 MB / 4.408 GB, free: 90.42 MB / 0.8698 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.06156/10.47, allocations: 11.77 MB / 4.42 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007172/10.48, allocations: 5.266 MB / 4.425 GB, free: 88.22 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/10.48, allocations: 6.25 kB / 4.425 GB, free: 88.22 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/10.48, allocations: 1.66 MB / 4.426 GB, free: 88.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008824/10.49, allocations: 1.763 MB / 4.428 GB, free: 88 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/10.51, allocations: 8.802 MB / 4.437 GB, free: 85.99 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/10.51, allocations: 3.112 MB / 4.44 GB, free: 85.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008994/10.52, allocations: 2.725 MB / 4.442 GB, free: 84.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002727/10.52, allocations: 1.799 MB / 4.444 GB, free: 84.89 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/10.52, allocations: 4 kB / 4.444 GB, free: 84.88 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/10.67, allocations: 114.9 MB / 4.556 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/10.67, allocations: 184.1 kB / 4.556 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.37/16.04, allocations: 0 / 4.556 GB, free: 12.92 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)