Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.249/2.249, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 168 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.1 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 104.8 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 10.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.366, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.566/6.932, allocations: 2.2 GB / 3.429 GB, free: 189.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/6.933, allocations: 100.2 kB / 3.429 GB, free: 189.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.555/10.49, allocations: 0.944 GB / 4.373 GB, free: 159.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.936e-06/10.49, allocations: 0 / 4.373 GB, free: 159.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007972/10.49, allocations: 131.8 kB / 4.373 GB, free: 159 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 0.01706/10.51, allocations: 5.165 MB / 4.378 GB, free: 153.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/10.51, allocations: 8.828 kB / 4.378 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/10.51, allocations: 0.5265 MB / 4.379 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007825/10.52, allocations: 1.18 MB / 4.38 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/10.53, allocations: 5.515 MB / 4.385 GB, free: 146.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/10.53, allocations: 291.4 kB / 4.385 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/10.53, allocations: 379.9 kB / 4.386 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/10.54, allocations: 5.374 MB / 4.391 GB, free: 140.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-05/10.54, allocations: 19.84 kB / 4.391 GB, free: 140.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/10.54, allocations: 156 kB / 4.391 GB, free: 140.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/10.54, allocations: 179.2 kB / 4.391 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/10.55, allocations: 5.216 MB / 4.396 GB, free: 134.7 MB / 1.167 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.03294/10.59, allocations: 19.65 MB / 4.416 GB, free: 114.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006765/10.59, allocations: 3.614 MB / 4.419 GB, free: 110.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001815/10.6, allocations: 1.868 MB / 4.421 GB, free: 108.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004155/10.6, allocations: 2.042 MB / 4.423 GB, free: 106.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 4.027e-06/10.6, allocations: 0 / 4.423 GB, free: 106.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01183/10.61, allocations: 5.043 MB / 4.428 GB, free: 101.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/10.61, allocations: 287.1 kB / 4.428 GB, free: 101 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/10.62, allocations: 3.534 MB / 4.432 GB, free: 97.47 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005407/10.62, allocations: 77.7 kB / 4.432 GB, free: 97.39 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/10.62, allocations: 1.98 MB / 4.434 GB, free: 95.39 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/10.62, allocations: 0.9088 MB / 4.435 GB, free: 94.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/10.62, allocations: 60 kB / 4.435 GB, free: 94.41 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001445/10.62, allocations: 419.9 kB / 4.435 GB, free: 93.99 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/10.62, allocations: 1.516 MB / 4.436 GB, free: 92.47 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/10.63, allocations: 2.209 MB / 4.439 GB, free: 89.98 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/10.63, allocations: 1.877 MB / 4.44 GB, free: 88.09 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/10.63, allocations: 4 kB / 4.44 GB, free: 88.08 MB / 1.167 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.009028/10.64, allocations: 4.308 MB / 4.445 GB, free: 83.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001413/10.64, allocations: 7.435 MB / 4.452 GB, free: 75.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/10.64, allocations: 16 kB / 4.452 GB, free: 75.67 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/10.64, allocations: 116.8 kB / 4.452 GB, free: 75.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003845/10.65, allocations: 0.7995 MB / 4.453 GB, free: 74.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/10.65, allocations: 2.172 MB / 4.455 GB, free: 72.42 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/10.65, allocations: 0.5197 MB / 4.455 GB, free: 71.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/10.65, allocations: 147.9 kB / 4.456 GB, free: 71.75 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/10.65, allocations: 4 kB / 4.456 GB, free: 71.75 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007754/10.66, allocations: 3.963 MB / 4.46 GB, free: 67.74 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/10.66, allocations: 19.98 kB / 4.46 GB, free: 67.72 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/10.66, allocations: 113.7 kB / 4.46 GB, free: 67.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/10.67, allocations: 0.7879 MB / 4.46 GB, free: 66.82 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/10.67, allocations: 1.586 MB / 4.462 GB, free: 65.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004703/10.67, allocations: 492.8 kB / 4.462 GB, free: 64.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000379/10.67, allocations: 151.8 kB / 4.463 GB, free: 64.46 MB / 1.167 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 (366): * Single equations (assignments): 364 * 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.003461/10.68, allocations: 1.52 MB / 4.464 GB, free: 62.93 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/10.68, allocations: 395.2 kB / 4.464 GB, free: 62.54 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009454/10.69, allocations: 4.343 MB / 4.469 GB, free: 58.14 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/10.69, allocations: 28 kB / 4.469 GB, free: 58.11 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/10.69, allocations: 0 / 4.469 GB, free: 58.11 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006753/10.69, allocations: 3.469 MB / 4.472 GB, free: 54.55 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/10.71, allocations: 8.998 MB / 4.481 GB, free: 45.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/10.71, allocations: 4.094 kB / 4.481 GB, free: 45.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/10.71, allocations: 0.6319 MB / 4.481 GB, free: 44.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/10.72, allocations: 92.77 kB / 4.482 GB, free: 44.69 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/10.72, allocations: 87.92 kB / 4.482 GB, free: 44.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/10.72, allocations: 2.178 MB / 4.484 GB, free: 42.26 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/10.72, allocations: 4.031 kB / 4.484 GB, free: 42.26 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/10.73, allocations: 6.035 MB / 4.49 GB, free: 36.12 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003394/10.73, allocations: 1.093 MB / 4.491 GB, free: 35 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009979/10.73, allocations: 60 kB / 4.491 GB, free: 34.94 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003904/10.74, allocations: 335.3 kB / 4.491 GB, free: 34.61 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/10.74, allocations: 181.9 kB / 4.491 GB, free: 34.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/10.74, allocations: 131.9 kB / 4.491 GB, free: 34.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004222/10.74, allocations: 2.789 MB / 4.494 GB, free: 31.54 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/10.74, allocations: 3.938 kB / 4.494 GB, free: 31.53 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007574/10.75, allocations: 2.462 MB / 4.497 GB, free: 29.06 MB / 1.167 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 (287): * Single equations (assignments): 277 * 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.0141/10.76, allocations: 8.351 MB / 4.505 GB, free: 20.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01179/10.78, allocations: 6.007 MB / 4.511 GB, free: 14.74 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/10.78, allocations: 5.328 kB / 4.511 GB, free: 14.73 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/10.78, allocations: 1.932 MB / 4.512 GB, free: 12.79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/10.79, allocations: 2.024 MB / 4.514 GB, free: 10.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.724/11.51, allocations: 44.43 MB / 4.558 GB, free: 224 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/11.52, allocations: 3.144 MB / 4.561 GB, free: 223.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009792/11.53, allocations: 2.038 MB / 4.563 GB, free: 223.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00414/11.53, allocations: 1.901 MB / 4.565 GB, free: 223.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.494e-05/11.53, allocations: 3.094 kB / 4.565 GB, free: 223.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2134/11.75, allocations: 133.1 MB / 4.695 GB, free: 214.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/11.75, allocations: 257.4 kB / 4.695 GB, free: 214.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/18.47, allocations: 0 / 4.695 GB, free: 214.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat does not exist to compare? outputFormat=mat