Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001167/0.001168, allocations: 176.9 kB / 366.7 MB, free: 1.648 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.821/1.821, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0009905/0.0009904, allocations: 89.84 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.549e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7788, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/7.144, allocations: 2.358 GB / 3.331 GB, free: 83.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/7.144, allocations: 89.08 kB / 3.331 GB, free: 83.49 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.603/10.75, allocations: 0.9197 GB / 4.251 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.774e-06/10.75, allocations: 0 / 4.251 GB, free: 186.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000678/10.75, allocations: 126.5 kB / 4.251 GB, free: 186.8 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.01578/10.76, allocations: 4.236 MB / 4.255 GB, free: 185.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/10.76, allocations: 10.84 kB / 4.255 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008213/10.77, allocations: 1.145 MB / 4.256 GB, free: 185 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/10.79, allocations: 5.345 MB / 4.261 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/10.79, allocations: 117.8 kB / 4.261 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/10.79, allocations: 221.3 kB / 4.262 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008679/10.8, allocations: 4.307 MB / 4.266 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009184/10.81, allocations: 4.494 MB / 4.27 GB, free: 183.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/10.81, allocations: 13.34 kB / 4.27 GB, free: 183.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000466/10.81, allocations: 7.844 kB / 4.27 GB, free: 183.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/10.81, allocations: 179.7 kB / 4.27 GB, free: 183.8 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.03208/10.84, allocations: 18.79 MB / 4.289 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004746/10.84, allocations: 3.138 MB / 4.292 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/10.85, allocations: 1.584 MB / 4.293 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/10.85, allocations: 1.87 MB / 4.295 GB, free: 174.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003109/10.85, allocations: 1.748 MB / 4.297 GB, free: 173.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 4.659e-06/10.85, allocations: 0 / 4.297 GB, free: 173.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.05936/10.91, allocations: 7.309 MB / 4.304 GB, free: 172.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.321e-05/10.91, allocations: 289.9 kB / 4.304 GB, free: 171.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/10.92, allocations: 2.959 MB / 4.307 GB, free: 170.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00088/10.92, allocations: 29.52 kB / 4.307 GB, free: 170.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002349/10.92, allocations: 1.937 MB / 4.309 GB, free: 169.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/10.92, allocations: 0.8703 MB / 4.31 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/10.92, allocations: 0 / 4.31 GB, free: 168.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001816/10.92, allocations: 425.1 kB / 4.31 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/10.92, allocations: 1.261 MB / 4.312 GB, free: 167.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/10.92, allocations: 1.936 MB / 4.313 GB, free: 166.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05456/10.98, allocations: 5.963 MB / 4.319 GB, free: 165.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/10.98, allocations: 7.641 kB / 4.319 GB, free: 165.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.05997/11.04, allocations: 7.978 MB / 4.327 GB, free: 163.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001698/11.04, allocations: 7.291 MB / 4.334 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/11.04, allocations: 17 kB / 4.334 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/11.04, allocations: 113.5 kB / 4.334 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/11.05, allocations: 0.7867 MB / 4.335 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/11.05, allocations: 2.099 MB / 4.337 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/11.05, allocations: 423.7 kB / 4.338 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000771/11.05, allocations: 146.3 kB / 4.338 GB, free: 154 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/11.05, allocations: 5.781 kB / 4.338 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05669/11.11, allocations: 7.602 MB / 4.345 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/11.11, allocations: 19 kB / 4.345 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/11.11, allocations: 119 kB / 4.345 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/11.11, allocations: 0.7775 MB / 4.346 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/11.12, allocations: 1.506 MB / 4.348 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/11.12, allocations: 378.1 kB / 4.348 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006073/11.12, allocations: 143.7 kB / 4.348 GB, free: 150.9 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.0009025/11.12, allocations: 183.3 kB / 4.348 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05625/11.18, allocations: 7.307 MB / 4.355 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008876/11.18, allocations: 351.8 kB / 4.356 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05876/11.24, allocations: 8.031 MB / 4.363 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/11.24, allocations: 30.91 kB / 4.364 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/11.24, allocations: 3.75 kB / 4.364 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05776/11.3, allocations: 7.238 MB / 4.371 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06677/11.36, allocations: 12.25 MB / 4.383 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/11.36, allocations: 96 / 4.383 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/11.37, allocations: 0.6234 MB / 4.383 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/11.37, allocations: 88.78 kB / 4.383 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004229/11.37, allocations: 63.77 kB / 4.383 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/11.37, allocations: 2.088 MB / 4.385 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/11.37, allocations: 3.75 kB / 4.385 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05972/11.43, allocations: 9.533 MB / 4.395 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/11.43, allocations: 1.042 MB / 4.396 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/11.43, allocations: 15.98 kB / 4.396 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/11.44, allocations: 275.4 kB / 4.396 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/11.44, allocations: 174 kB / 4.396 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003278/11.44, allocations: 131.9 kB / 4.396 GB, free: 115.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003336/11.44, allocations: 2.284 MB / 4.398 GB, free: 112.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/11.44, allocations: 0 / 4.398 GB, free: 112.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00839/11.45, allocations: 2.309 MB / 4.401 GB, free: 110.6 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.0636/11.51, allocations: 11.8 MB / 4.412 GB, free: 99.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007662/11.52, allocations: 5.265 MB / 4.417 GB, free: 93.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/11.52, allocations: 5.734 kB / 4.417 GB, free: 93.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/11.52, allocations: 1.662 MB / 4.419 GB, free: 92.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008637/11.53, allocations: 1.757 MB / 4.421 GB, free: 90.44 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/11.55, allocations: 8.792 MB / 4.429 GB, free: 81.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/11.55, allocations: 3.115 MB / 4.432 GB, free: 78.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00919/11.56, allocations: 2.746 MB / 4.435 GB, free: 75.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/11.57, allocations: 1.803 MB / 4.437 GB, free: 74.09 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/11.57, allocations: 0 / 4.437 GB, free: 74.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7119/12.28, allocations: 115.4 MB / 4.55 GB, free: 181 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/12.28, allocations: 175.4 kB / 4.55 GB, free: 180.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.066/18.34, allocations: 0 / 4.55 GB, free: 180.8 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)