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.221/2.221, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001391/0.001391, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001011/0.00101, allocations: 99.94 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.826e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.805/6.107, allocations: 2.2 GB / 3.418 GB, free: 65.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/6.107, allocations: 91.94 kB / 3.418 GB, free: 65.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.35/9.457, allocations: 0.9414 GB / 4.36 GB, free: 38.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.683e-06/9.457, allocations: 0 / 4.36 GB, free: 38.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007951/9.458, allocations: 127.9 kB / 4.36 GB, free: 38.68 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.01468/9.473, allocations: 4.316 MB / 4.364 GB, free: 34.29 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/9.473, allocations: 19.95 kB / 4.364 GB, free: 34.27 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002195/9.475, allocations: 0.5187 MB / 4.365 GB, free: 33.75 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/9.483, allocations: 1.184 MB / 4.366 GB, free: 32.55 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/9.497, allocations: 5.488 MB / 4.371 GB, free: 27 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/9.498, allocations: 283.5 kB / 4.372 GB, free: 26.72 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/9.499, allocations: 379.9 kB / 4.372 GB, free: 26.35 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/9.511, allocations: 5.074 MB / 4.377 GB, free: 21.12 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.803e-05/9.511, allocations: 7.938 kB / 4.377 GB, free: 21.11 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005013/9.511, allocations: 164 kB / 4.377 GB, free: 20.95 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/9.512, allocations: 179.3 kB / 4.377 GB, free: 20.77 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007266/9.519, allocations: 4.647 MB / 4.382 GB, free: 16.12 MB / 1.167 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.7678/10.29, allocations: 19.65 MB / 4.401 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/10.29, allocations: 3.263 MB / 4.404 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/10.3, allocations: 1.675 MB / 4.406 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/10.3, allocations: 1.864 MB / 4.408 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003866/10.3, allocations: 1.851 MB / 4.409 GB, free: 219.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 5.109e-06/10.3, allocations: 0 / 4.409 GB, free: 219.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.006932/10.31, allocations: 3.146 MB / 4.412 GB, free: 219.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/10.31, allocations: 286.2 kB / 4.413 GB, free: 219.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/10.32, allocations: 3.493 MB / 4.416 GB, free: 218.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008216/10.32, allocations: 82.17 kB / 4.416 GB, free: 218.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002045/10.32, allocations: 1.982 MB / 4.418 GB, free: 218.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/10.32, allocations: 0.9058 MB / 4.419 GB, free: 217.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/10.32, allocations: 60.34 kB / 4.419 GB, free: 217.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002085/10.32, allocations: 422.7 kB / 4.419 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/10.32, allocations: 1.329 MB / 4.421 GB, free: 217.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/10.33, allocations: 2.017 MB / 4.423 GB, free: 216.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/10.33, allocations: 1.676 MB / 4.424 GB, free: 216.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/10.33, allocations: 8.562 kB / 4.424 GB, free: 216.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.008414/10.34, allocations: 3.929 MB / 4.428 GB, free: 216.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001211/10.34, allocations: 7.45 MB / 4.436 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/10.34, allocations: 17.44 kB / 4.436 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/10.34, allocations: 113.4 kB / 4.436 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/10.34, allocations: 0.7936 MB / 4.436 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/10.34, allocations: 2.162 MB / 4.439 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00564/10.35, allocations: 0.5107 MB / 4.439 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008328/10.35, allocations: 146.1 kB / 4.439 GB, free: 206.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/10.35, allocations: 3.531 kB / 4.439 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007487/10.36, allocations: 3.584 MB / 4.443 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-05/10.36, allocations: 20.22 kB / 4.443 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/10.36, allocations: 111.5 kB / 4.443 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/10.36, allocations: 0.7862 MB / 4.444 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/10.37, allocations: 1.56 MB / 4.445 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00578/10.37, allocations: 491.8 kB / 4.446 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006751/10.37, allocations: 148.4 kB / 4.446 GB, free: 205.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 () * 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.001078/10.37, allocations: 284.8 kB / 4.446 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/10.37, allocations: 388.3 kB / 4.446 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009088/10.38, allocations: 3.97 MB / 4.45 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/10.38, allocations: 28.72 kB / 4.45 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.38, allocations: 1.062 kB / 4.45 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005446/10.39, allocations: 3.076 MB / 4.453 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/10.41, allocations: 8.627 MB / 4.462 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/10.41, allocations: 3.562 kB / 4.462 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/10.41, allocations: 0.6331 MB / 4.462 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/10.41, allocations: 104.5 kB / 4.462 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/10.41, allocations: 82.36 kB / 4.462 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/10.41, allocations: 2.157 MB / 4.465 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/10.41, allocations: 3.203 kB / 4.465 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009778/10.42, allocations: 5.464 MB / 4.47 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/10.43, allocations: 1.097 MB / 4.471 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/10.43, allocations: 59.69 kB / 4.471 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004262/10.43, allocations: 334.5 kB / 4.471 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/10.43, allocations: 173.1 kB / 4.472 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003323/10.43, allocations: 132.2 kB / 4.472 GB, free: 201 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004387/10.44, allocations: 2.75 MB / 4.474 GB, free: 200.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/10.44, allocations: 0 / 4.474 GB, free: 200.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009208/10.45, allocations: 2.471 MB / 4.477 GB, free: 200.6 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) * 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.01143/10.46, allocations: 7.753 MB / 4.484 GB, free: 199.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009347/10.47, allocations: 5.561 MB / 4.49 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/10.47, allocations: 5.078 kB / 4.49 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00273/10.47, allocations: 1.737 MB / 4.491 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/10.48, allocations: 2.044 MB / 4.493 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/10.51, allocations: 9.257 MB / 4.502 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/10.51, allocations: 3.145 MB / 4.506 GB, free: 196.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01157/10.52, allocations: 3.012 MB / 4.508 GB, free: 196.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003843/10.52, allocations: 1.822 MB / 4.51 GB, free: 196.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.114e-06/10.52, allocations: 2.375 kB / 4.51 GB, free: 196.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/10.71, allocations: 139.7 MB / 4.647 GB, free: 165.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/10.71, allocations: 239.2 kB / 4.647 GB, free: 164.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.342/17.06, allocations: 0 / 4.647 GB, free: 164.9 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