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.211/2.211, allocations: 390.5 MB / 398 MB, free: 10.95 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.001285/0.001285, allocations: 188.8 kB / 491.2 MB, free: 1.547 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.579/1.579, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001179/0.001179, allocations: 91.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/1.989e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.558/5.89, allocations: 2.199 GB / 3.411 GB, free: 76.31 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/5.89, allocations: 89.58 kB / 3.411 GB, free: 76.27 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.086/8.976, allocations: 0.9363 GB / 4.348 GB, free: 29.62 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/8.976, allocations: 0 / 4.348 GB, free: 29.62 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006057/8.977, allocations: 127.9 kB / 4.348 GB, free: 29.5 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.0114/8.988, allocations: 4.317 MB / 4.352 GB, free: 25.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/8.988, allocations: 11.97 kB / 4.352 GB, free: 25.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007267/8.995, allocations: 1.188 MB / 4.353 GB, free: 23.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/9.007, allocations: 5.492 MB / 4.359 GB, free: 18.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/9.007, allocations: 120 kB / 4.359 GB, free: 18.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/9.008, allocations: 224 kB / 4.359 GB, free: 18.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008/9.016, allocations: 4.349 MB / 4.363 GB, free: 13.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/9.03, allocations: 4.536 MB / 4.368 GB, free: 8.965 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/9.031, allocations: 19.84 kB / 4.368 GB, free: 8.945 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006774/9.031, allocations: 4 kB / 4.368 GB, free: 8.941 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/9.031, allocations: 175.3 kB / 4.368 GB, free: 8.77 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.7158/9.747, allocations: 18.89 MB / 4.386 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/9.752, allocations: 3.136 MB / 4.389 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/9.755, allocations: 1.596 MB / 4.391 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/9.756, allocations: 1.861 MB / 4.393 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003082/9.76, allocations: 1.767 MB / 4.394 GB, free: 215.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 4.689e-06/9.76, allocations: 0 / 4.394 GB, free: 215.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.06141/9.821, allocations: 7.4 MB / 4.402 GB, free: 215.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/9.821, allocations: 287.8 kB / 4.402 GB, free: 215.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/9.827, allocations: 2.989 MB / 4.405 GB, free: 215.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008455/9.828, allocations: 32.03 kB / 4.405 GB, free: 215.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002044/9.83, allocations: 1.963 MB / 4.407 GB, free: 214.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/9.831, allocations: 0.8769 MB / 4.408 GB, free: 214.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/9.831, allocations: 0 / 4.408 GB, free: 214.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001991/9.832, allocations: 431 kB / 4.408 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/9.834, allocations: 1.268 MB / 4.409 GB, free: 213.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/9.836, allocations: 1.943 MB / 4.411 GB, free: 213.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05745/9.894, allocations: 6.047 MB / 4.417 GB, free: 213.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/9.894, allocations: 4.344 kB / 4.417 GB, free: 213.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.06068/9.954, allocations: 8.076 MB / 4.425 GB, free: 212.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001273/9.956, allocations: 7.304 MB / 4.432 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/9.956, allocations: 21.42 kB / 4.432 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/9.956, allocations: 114.4 kB / 4.432 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/9.96, allocations: 0.7948 MB / 4.433 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/9.962, allocations: 2.108 MB / 4.435 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/9.967, allocations: 430.9 kB / 4.435 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/9.968, allocations: 143.8 kB / 4.436 GB, free: 203.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/9.968, allocations: 5.312 kB / 4.436 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05904/10.03, allocations: 7.703 MB / 4.443 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/10.03, allocations: 14.03 kB / 4.443 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/10.03, allocations: 115.5 kB / 4.443 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/10.03, allocations: 0.7923 MB / 4.444 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/10.03, allocations: 1.504 MB / 4.445 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/10.04, allocations: 385.2 kB / 4.446 GB, free: 201.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000527/10.04, allocations: 139.5 kB / 4.446 GB, free: 201.7 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.0008665/10.04, allocations: 187.1 kB / 4.446 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05902/10.1, allocations: 7.394 MB / 4.453 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/10.1, allocations: 362.9 kB / 4.454 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06012/10.16, allocations: 8.139 MB / 4.462 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/10.16, allocations: 31.89 kB / 4.462 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/10.16, allocations: 0 / 4.462 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05684/10.22, allocations: 7.342 MB / 4.469 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06616/10.28, allocations: 12.38 MB / 4.481 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/10.28, allocations: 0 / 4.481 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/10.29, allocations: 0.637 MB / 4.482 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/10.29, allocations: 94 kB / 4.482 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/10.29, allocations: 54.78 kB / 4.482 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/10.29, allocations: 2.087 MB / 4.484 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/10.29, allocations: 2.344 kB / 4.484 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06042/10.35, allocations: 9.641 MB / 4.493 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/10.35, allocations: 1.058 MB / 4.494 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009097/10.35, allocations: 19.45 kB / 4.494 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/10.36, allocations: 276.9 kB / 4.494 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/10.36, allocations: 171.3 kB / 4.495 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/10.36, allocations: 136.2 kB / 4.495 GB, free: 196.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003483/10.36, allocations: 2.304 MB / 4.497 GB, free: 196.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/10.36, allocations: 3.844 kB / 4.497 GB, free: 196.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009971/10.37, allocations: 2.364 MB / 4.499 GB, free: 196.1 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.06438/10.43, allocations: 11.96 MB / 4.511 GB, free: 194.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007391/10.44, allocations: 5.283 MB / 4.516 GB, free: 194 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/10.44, allocations: 4.891 kB / 4.516 GB, free: 194 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/10.44, allocations: 1.681 MB / 4.518 GB, free: 193.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008408/10.45, allocations: 1.761 MB / 4.52 GB, free: 193.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/10.47, allocations: 8.93 MB / 4.528 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/10.47, allocations: 3.147 MB / 4.531 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009664/10.48, allocations: 2.826 MB / 4.534 GB, free: 190.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/10.48, allocations: 1.831 MB / 4.536 GB, free: 190.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/10.48, allocations: 0 / 4.536 GB, free: 190.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1604/10.64, allocations: 116.7 MB / 4.65 GB, free: 134.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/10.65, allocations: 180.4 kB / 4.65 GB, free: 134.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.602/16.25, allocations: 3.844 kB / 4.65 GB, free: 134.2 MB / 1.151 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