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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001079/0.001079, allocations: 176.9 kB / 492.3 MB, free: 0.6328 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.507/1.507, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001062/0.001062, allocations: 92.14 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.066e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3115, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.461/5.773, allocations: 2.199 GB / 3.412 GB, free: 88.28 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/5.773, allocations: 96.28 kB / 3.412 GB, free: 88.23 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.245/9.018, allocations: 0.9414 GB / 4.353 GB, free: 36.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.247e-06/9.018, allocations: 4 kB / 4.353 GB, free: 36.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007722/9.018, allocations: 131.9 kB / 4.353 GB, free: 36.67 MB / 1.151 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.01309/9.032, allocations: 4.305 MB / 4.358 GB, free: 32.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/9.032, allocations: 12.03 kB / 4.358 GB, free: 32.29 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002223/9.034, allocations: 0.5187 MB / 4.358 GB, free: 31.76 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/9.042, allocations: 1.188 MB / 4.359 GB, free: 30.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/9.055, allocations: 5.495 MB / 4.365 GB, free: 25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/9.056, allocations: 279.5 kB / 4.365 GB, free: 24.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/9.057, allocations: 379.9 kB / 4.365 GB, free: 24.36 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/9.071, allocations: 5.07 MB / 4.37 GB, free: 19.12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/9.071, allocations: 7.938 kB / 4.37 GB, free: 19.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001609/9.073, allocations: 168 kB / 4.37 GB, free: 18.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/9.073, allocations: 179.2 kB / 4.371 GB, free: 18.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/9.083, allocations: 4.643 MB / 4.375 GB, free: 14.13 MB / 1.151 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.7287/9.812, allocations: 19.63 MB / 4.394 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/9.819, allocations: 3.271 MB / 4.398 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/9.822, allocations: 1.682 MB / 4.399 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/9.824, allocations: 1.861 MB / 4.401 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004029/9.828, allocations: 1.85 MB / 4.403 GB, free: 212.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 6.602e-06/9.828, allocations: 0 / 4.403 GB, free: 212.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.008641/9.836, allocations: 3.145 MB / 4.406 GB, free: 212.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/9.837, allocations: 293.6 kB / 4.406 GB, free: 212 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008811/9.845, allocations: 3.487 MB / 4.41 GB, free: 211.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000978/9.846, allocations: 79.02 kB / 4.41 GB, free: 211.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/9.849, allocations: 1.987 MB / 4.412 GB, free: 211.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/9.85, allocations: 0.9043 MB / 4.412 GB, free: 210.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/9.851, allocations: 57.72 kB / 4.412 GB, free: 210.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002347/9.851, allocations: 422.5 kB / 4.413 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/9.854, allocations: 1.325 MB / 4.414 GB, free: 210.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/9.857, allocations: 2.017 MB / 4.416 GB, free: 209.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/9.86, allocations: 1.686 MB / 4.418 GB, free: 209.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/9.86, allocations: 4.25 kB / 4.418 GB, free: 209.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.00833/9.868, allocations: 3.919 MB / 4.422 GB, free: 209.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001338/9.87, allocations: 7.453 MB / 4.429 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/9.87, allocations: 18.56 kB / 4.429 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/9.87, allocations: 113.7 kB / 4.429 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/9.875, allocations: 0.7919 MB / 4.43 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/9.877, allocations: 2.168 MB / 4.432 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/9.883, allocations: 0.5107 MB / 4.432 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007676/9.884, allocations: 142 kB / 4.433 GB, free: 199.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/9.884, allocations: 3.719 kB / 4.433 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007693/9.892, allocations: 3.579 MB / 4.436 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/9.892, allocations: 16.62 kB / 4.436 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/9.892, allocations: 118.4 kB / 4.436 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/9.897, allocations: 0.7847 MB / 4.437 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/9.899, allocations: 1.573 MB / 4.438 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006405/9.905, allocations: 485.8 kB / 4.439 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/9.906, allocations: 142.4 kB / 4.439 GB, free: 198.1 MB / 1.151 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 (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.001396/9.908, allocations: 291.8 kB / 4.439 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/9.909, allocations: 392.5 kB / 4.44 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/9.918, allocations: 3.959 MB / 4.444 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/9.918, allocations: 38.19 kB / 4.444 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/9.918, allocations: 1.125 kB / 4.444 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005359/9.923, allocations: 3.075 MB / 4.447 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/9.943, allocations: 8.627 MB / 4.455 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/9.943, allocations: 0.5156 kB / 4.455 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/9.946, allocations: 0.631 MB / 4.456 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/9.947, allocations: 96.69 kB / 4.456 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004559/9.948, allocations: 85 kB / 4.456 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/9.949, allocations: 2.158 MB / 4.458 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/9.949, allocations: 1.562 kB / 4.458 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009056/9.958, allocations: 5.468 MB / 4.463 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003541/9.962, allocations: 1.092 MB / 4.464 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/9.963, allocations: 58.64 kB / 4.464 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004893/9.968, allocations: 335.7 kB / 4.465 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/9.969, allocations: 179.7 kB / 4.465 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004843/9.97, allocations: 129.7 kB / 4.465 GB, free: 193.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005755/9.975, allocations: 2.751 MB / 4.468 GB, free: 193.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.32e-07/9.975, allocations: 0 / 4.468 GB, free: 193.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01125/9.987, allocations: 2.471 MB / 4.47 GB, free: 193.5 MB / 1.151 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 (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.01338/10, allocations: 7.752 MB / 4.478 GB, free: 192.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01082/10.01, allocations: 5.556 MB / 4.483 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/10.01, allocations: 4.984 kB / 4.483 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/10.01, allocations: 1.743 MB / 4.485 GB, free: 191.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.011/10.02, allocations: 2.039 MB / 4.487 GB, free: 191.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/10.05, allocations: 9.258 MB / 4.496 GB, free: 190 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/10.05, allocations: 3.151 MB / 4.499 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009891/10.06, allocations: 3.002 MB / 4.502 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003248/10.06, allocations: 1.825 MB / 4.504 GB, free: 189.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/10.06, allocations: 0 / 4.504 GB, free: 189.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/10.25, allocations: 139.6 MB / 4.64 GB, free: 153.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/10.25, allocations: 227.7 kB / 4.64 GB, free: 153 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.08/16.33, allocations: 0 / 4.64 GB, free: 153 MB / 1.151 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