Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Concentrating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001209/0.001209, allocations: 179.7 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0009638/0.0009639, allocations: 85.09 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004169, allocations: 11.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.839/7.137, allocations: 2.357 GB / 3.337 GB, free: 330.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/7.137, allocations: 98.25 kB / 3.337 GB, free: 330.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.324/10.46, allocations: 0.9273 GB / 4.264 GB, free: 131 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/10.46, allocations: 0 / 4.264 GB, free: 131 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009281/10.46, allocations: 127.2 kB / 4.264 GB, free: 130.9 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.02087/10.48, allocations: 5.069 MB / 4.269 GB, free: 125.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/10.48, allocations: 12.03 kB / 4.269 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003483/10.49, allocations: 0.5183 MB / 4.27 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/10.5, allocations: 1.145 MB / 4.271 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/10.51, allocations: 5.367 MB / 4.276 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/10.51, allocations: 279 kB / 4.276 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/10.52, allocations: 371.9 kB / 4.277 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/10.53, allocations: 5.311 MB / 4.282 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002612/10.54, allocations: 11.84 kB / 4.282 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/10.54, allocations: 167.8 kB / 4.282 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/10.54, allocations: 175.1 kB / 4.282 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/10.55, allocations: 5.145 MB / 4.287 GB, free: 107.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.04485/10.6, allocations: 19.49 MB / 4.306 GB, free: 87.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008113/10.6, allocations: 3.632 MB / 4.31 GB, free: 83.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002425/10.61, allocations: 1.861 MB / 4.312 GB, free: 81.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005841/10.61, allocations: 2.026 MB / 4.314 GB, free: 79.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 1.3e-05/10.61, allocations: 0 / 4.314 GB, free: 79.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.0141/10.63, allocations: 4.972 MB / 4.319 GB, free: 74.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/10.63, allocations: 295.1 kB / 4.319 GB, free: 73.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007307/10.63, allocations: 3.456 MB / 4.322 GB, free: 70.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008685/10.64, allocations: 81.64 kB / 4.322 GB, free: 70.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002565/10.64, allocations: 1.956 MB / 4.324 GB, free: 68.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/10.64, allocations: 0.905 MB / 4.325 GB, free: 67.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005515/10.64, allocations: 56 kB / 4.325 GB, free: 67.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000289/10.64, allocations: 423.9 kB / 4.326 GB, free: 66.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/10.64, allocations: 1.501 MB / 4.327 GB, free: 65.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003902/10.65, allocations: 2.19 MB / 4.329 GB, free: 62.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/10.65, allocations: 1.843 MB / 4.331 GB, free: 61.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/10.65, allocations: 7.953 kB / 4.331 GB, free: 61 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01033/10.66, allocations: 4.264 MB / 4.335 GB, free: 56.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00162/10.66, allocations: 7.413 MB / 4.342 GB, free: 48.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/10.66, allocations: 16 kB / 4.342 GB, free: 48.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006903/10.66, allocations: 116.8 kB / 4.342 GB, free: 48.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/10.67, allocations: 0.7801 MB / 4.343 GB, free: 47.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/10.67, allocations: 2.184 MB / 4.345 GB, free: 45.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/10.68, allocations: 0.5004 MB / 4.346 GB, free: 44.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007265/10.68, allocations: 139.9 kB / 4.346 GB, free: 44.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/10.68, allocations: 5.562 kB / 4.346 GB, free: 44.72 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/10.69, allocations: 3.92 MB / 4.35 GB, free: 40.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/10.69, allocations: 23.95 kB / 4.35 GB, free: 40.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/10.69, allocations: 117.3 kB / 4.35 GB, free: 40.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/10.69, allocations: 0.7801 MB / 4.351 GB, free: 39.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/10.69, allocations: 1.59 MB / 4.352 GB, free: 38.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/10.7, allocations: 476.8 kB / 4.353 GB, free: 37.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008323/10.7, allocations: 144.2 kB / 4.353 GB, free: 37.5 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 () * 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.005526/10.71, allocations: 1.504 MB / 4.354 GB, free: 35.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002839/10.71, allocations: 391.3 kB / 4.355 GB, free: 35.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/10.72, allocations: 4.282 MB / 4.359 GB, free: 31.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/10.72, allocations: 32 kB / 4.359 GB, free: 31.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/10.72, allocations: 0 / 4.359 GB, free: 31.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007301/10.73, allocations: 3.418 MB / 4.362 GB, free: 27.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/10.75, allocations: 8.907 MB / 4.371 GB, free: 18.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/10.75, allocations: 4.094 kB / 4.371 GB, free: 18.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/10.76, allocations: 0.6202 MB / 4.372 GB, free: 18.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/10.76, allocations: 92.77 kB / 4.372 GB, free: 17.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004817/10.76, allocations: 87.92 kB / 4.372 GB, free: 17.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/10.76, allocations: 2.173 MB / 4.374 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/10.76, allocations: 64 / 4.374 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/10.77, allocations: 5.962 MB / 4.38 GB, free: 9.461 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003944/10.78, allocations: 1.077 MB / 4.381 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/10.78, allocations: 59.98 kB / 4.381 GB, free: 8.301 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004968/10.78, allocations: 327.4 kB / 4.381 GB, free: 7.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005817/10.78, allocations: 174 kB / 4.381 GB, free: 7.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006199/10.79, allocations: 131.9 kB / 4.381 GB, free: 7.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00594/10.79, allocations: 2.728 MB / 4.384 GB, free: 4.969 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.02e-07/10.79, allocations: 7.938 kB / 4.384 GB, free: 4.961 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01256/10.8, allocations: 2.427 MB / 4.386 GB, free: 2.527 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) * 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.7981/11.6, allocations: 8.203 MB / 4.394 GB, free: 177.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01648/11.62, allocations: 5.95 MB / 4.4 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/11.62, allocations: 4.109 kB / 4.4 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/11.62, allocations: 1.905 MB / 4.402 GB, free: 176.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/11.64, allocations: 2.033 MB / 4.404 GB, free: 176.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1046/11.74, allocations: 43.7 MB / 4.447 GB, free: 153.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005703/11.75, allocations: 3.112 MB / 4.45 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01285/11.76, allocations: 2.055 MB / 4.452 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005709/11.76, allocations: 1.865 MB / 4.454 GB, free: 153.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/11.77, allocations: 1.156 kB / 4.454 GB, free: 153.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.234/12, allocations: 131.5 MB / 4.582 GB, free: 127.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/12, allocations: 272.2 kB / 4.582 GB, free: 127.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.404/18.4, allocations: 7.156 kB / 4.582 GB, free: 127.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)