Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001582/0.001582, allocations: 174.6 kB / 498.1 MB, free: 5.73 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.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.000841/0.000841, allocations: 92.27 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003935, allocations: 6.25 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.304, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.621/4.926, allocations: 2.199 GB / 3.422 GB, free: 284.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/4.926, allocations: 102.3 kB / 3.422 GB, free: 284.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.463/8.389, allocations: 0.944 GB / 4.366 GB, free: 241.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.256e-06/8.389, allocations: 0 / 4.366 GB, free: 241.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001045/8.39, allocations: 131.3 kB / 4.366 GB, free: 241.4 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.02013/8.41, allocations: 5.154 MB / 4.372 GB, free: 236.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/8.41, allocations: 12.03 kB / 4.372 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002997/8.413, allocations: 0.5259 MB / 4.372 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008508/8.421, allocations: 1.192 MB / 4.373 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/8.438, allocations: 5.518 MB / 4.379 GB, free: 229 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/8.439, allocations: 287.3 kB / 4.379 GB, free: 228.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/8.442, allocations: 371.9 kB / 4.379 GB, free: 228.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/8.463, allocations: 5.389 MB / 4.384 GB, free: 222.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003036/8.463, allocations: 11.92 kB / 4.384 GB, free: 222.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/8.465, allocations: 163.9 kB / 4.385 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/8.465, allocations: 171.3 kB / 4.385 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/8.48, allocations: 5.212 MB / 4.39 GB, free: 217.2 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.04046/8.521, allocations: 19.65 MB / 4.409 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/8.529, allocations: 3.612 MB / 4.413 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/8.531, allocations: 1.871 MB / 4.414 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005412/8.537, allocations: 2.035 MB / 4.416 GB, free: 189.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 1.054e-05/8.537, allocations: 0 / 4.416 GB, free: 189.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01498/8.552, allocations: 5.05 MB / 4.421 GB, free: 184.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/8.552, allocations: 287.1 kB / 4.422 GB, free: 183.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00877/8.561, allocations: 3.531 MB / 4.425 GB, free: 180.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/8.562, allocations: 81.7 kB / 4.425 GB, free: 180.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002784/8.565, allocations: 1.984 MB / 4.427 GB, free: 178.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/8.566, allocations: 0.9014 MB / 4.428 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007113/8.567, allocations: 60 kB / 4.428 GB, free: 177.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003769/8.567, allocations: 427.9 kB / 4.428 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/8.571, allocations: 1.52 MB / 4.43 GB, free: 175.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/8.576, allocations: 2.209 MB / 4.432 GB, free: 172.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/8.58, allocations: 1.858 MB / 4.434 GB, free: 170.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/8.58, allocations: 4 kB / 4.434 GB, free: 170.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01006/8.59, allocations: 4.32 MB / 4.438 GB, free: 166.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001756/8.592, allocations: 7.447 MB / 4.445 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-05/8.592, allocations: 23.98 kB / 4.445 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/8.593, allocations: 112.7 kB / 4.446 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/8.597, allocations: 0.7918 MB / 4.446 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/8.599, allocations: 2.186 MB / 4.448 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/8.605, allocations: 0.512 MB / 4.449 GB, free: 154.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/8.606, allocations: 143.9 kB / 4.449 GB, free: 154.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/8.606, allocations: 4 kB / 4.449 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01108/8.617, allocations: 3.967 MB / 4.453 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-05/8.618, allocations: 16 kB / 4.453 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/8.618, allocations: 113.1 kB / 4.453 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004265/8.623, allocations: 0.7917 MB / 4.454 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/8.624, allocations: 1.579 MB / 4.455 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/8.63, allocations: 488.7 kB / 4.456 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008064/8.631, allocations: 147.9 kB / 4.456 GB, free: 147.3 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.004284/8.635, allocations: 1.531 MB / 4.457 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/8.637, allocations: 395.2 kB / 4.458 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/8.649, allocations: 4.338 MB / 4.462 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/8.649, allocations: 31.98 kB / 4.462 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/8.649, allocations: 0 / 4.462 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007833/8.657, allocations: 3.449 MB / 4.465 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/8.682, allocations: 9.028 MB / 4.474 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/8.682, allocations: 4 kB / 4.474 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003881/8.686, allocations: 0.6281 MB / 4.475 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000604/8.687, allocations: 96.7 kB / 4.475 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005795/8.688, allocations: 87.92 kB / 4.475 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/8.69, allocations: 2.172 MB / 4.477 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/8.69, allocations: 3.938 kB / 4.477 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/8.704, allocations: 6.031 MB / 4.483 GB, free: 119 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004012/8.708, allocations: 1.089 MB / 4.484 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/8.71, allocations: 60.09 kB / 4.484 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005233/8.715, allocations: 331.3 kB / 4.485 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/8.716, allocations: 182 kB / 4.485 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005839/8.716, allocations: 131.9 kB / 4.485 GB, free: 117.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00674/8.723, allocations: 2.789 MB / 4.488 GB, free: 114.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/8.723, allocations: 4 kB / 4.488 GB, free: 114.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01248/8.736, allocations: 2.466 MB / 4.49 GB, free: 112 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.02013/8.756, allocations: 8.35 MB / 4.498 GB, free: 103.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01522/8.771, allocations: 6.002 MB / 4.504 GB, free: 97.72 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/8.771, allocations: 7.078 kB / 4.504 GB, free: 97.71 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/8.776, allocations: 1.94 MB / 4.506 GB, free: 95.75 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/8.787, allocations: 2.039 MB / 4.508 GB, free: 93.76 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09725/8.884, allocations: 44.43 MB / 4.551 GB, free: 47.09 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004209/8.889, allocations: 3.147 MB / 4.554 GB, free: 43.91 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0105/8.899, allocations: 2.046 MB / 4.556 GB, free: 41.86 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004924/8.904, allocations: 1.897 MB / 4.558 GB, free: 39.97 MB / 1.167 GB Notification: Performance of SimCode: time 1.984e-06/8.904, allocations: 0 / 4.558 GB, free: 39.97 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/10.05, allocations: 133 MB / 4.688 GB, free: 270.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/10.05, allocations: 265.2 kB / 4.688 GB, free: 270.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.227/16.28, allocations: 0 / 4.688 GB, free: 270.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat does not exist to compare? outputFormat=mat