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.408/2.408, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001974/0.001974, allocations: 176.9 kB / 487.4 MB, free: 5.059 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.646/1.646, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001268, allocations: 94.78 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.08e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3181, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.844/6.162, allocations: 2.199 GB / 3.405 GB, free: 98.58 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/6.162, allocations: 92.39 kB / 3.405 GB, free: 98.54 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.212/9.375, allocations: 0.9363 GB / 4.341 GB, free: 58.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.054e-06/9.375, allocations: 0 / 4.341 GB, free: 58.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008306/9.375, allocations: 131.8 kB / 4.341 GB, free: 58.12 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.01469/9.39, allocations: 4.313 MB / 4.345 GB, free: 53.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/9.39, allocations: 8.031 kB / 4.345 GB, free: 53.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007752/9.398, allocations: 1.188 MB / 4.347 GB, free: 52.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/9.412, allocations: 5.488 MB / 4.352 GB, free: 46.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/9.412, allocations: 120 kB / 4.352 GB, free: 46.87 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/9.413, allocations: 220 kB / 4.352 GB, free: 46.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007795/9.421, allocations: 4.356 MB / 4.357 GB, free: 42.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008201/9.429, allocations: 4.532 MB / 4.361 GB, free: 37.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.256e-05/9.429, allocations: 15.83 kB / 4.361 GB, free: 37.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/9.43, allocations: 8 kB / 4.361 GB, free: 37.58 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/9.43, allocations: 179.3 kB / 4.361 GB, free: 37.4 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.02732/9.457, allocations: 18.92 MB / 4.38 GB, free: 17.85 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/9.462, allocations: 3.118 MB / 4.383 GB, free: 14.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/9.463, allocations: 1.595 MB / 4.384 GB, free: 13.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/9.465, allocations: 1.872 MB / 4.386 GB, free: 10.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002465/9.468, allocations: 1.765 MB / 4.388 GB, free: 9.047 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 5.019e-06/9.468, allocations: 0 / 4.388 GB, free: 9.047 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.06031/9.528, allocations: 7.396 MB / 4.395 GB, free: 1.59 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/9.528, allocations: 295.1 kB / 4.395 GB, free: 1.238 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6729/10.2, allocations: 2.988 MB / 4.398 GB, free: 228.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008534/10.2, allocations: 29.61 kB / 4.398 GB, free: 228.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002244/10.2, allocations: 1.965 MB / 4.4 GB, free: 228.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/10.21, allocations: 0.8692 MB / 4.401 GB, free: 227.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/10.21, allocations: 0 / 4.401 GB, free: 227.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001841/10.21, allocations: 424.4 kB / 4.401 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/10.21, allocations: 1.27 MB / 4.403 GB, free: 227.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/10.21, allocations: 1.939 MB / 4.405 GB, free: 226.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05972/10.27, allocations: 6.046 MB / 4.41 GB, free: 226.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-05/10.27, allocations: 8.719 kB / 4.41 GB, free: 226.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.06188/10.33, allocations: 8.08 MB / 4.418 GB, free: 226.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001665/10.33, allocations: 7.305 MB / 4.425 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/10.33, allocations: 22.45 kB / 4.426 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/10.33, allocations: 112.8 kB / 4.426 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/10.34, allocations: 0.7907 MB / 4.426 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/10.34, allocations: 2.101 MB / 4.428 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/10.35, allocations: 422.8 kB / 4.429 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/10.35, allocations: 143 kB / 4.429 GB, free: 216.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/10.35, allocations: 3.969 kB / 4.429 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06054/10.41, allocations: 7.706 MB / 4.437 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/10.41, allocations: 14.94 kB / 4.437 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/10.41, allocations: 117.5 kB / 4.437 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/10.41, allocations: 0.7868 MB / 4.437 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/10.41, allocations: 1.5 MB / 4.439 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00477/10.42, allocations: 391.3 kB / 4.439 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/10.42, allocations: 148.3 kB / 4.439 GB, free: 215.4 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.0008969/10.42, allocations: 180.9 kB / 4.44 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06263/10.48, allocations: 7.402 MB / 4.447 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/10.48, allocations: 355.6 kB / 4.447 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06411/10.55, allocations: 8.143 MB / 4.455 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/10.55, allocations: 32.83 kB / 4.455 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/10.55, allocations: 0 / 4.455 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05867/10.61, allocations: 7.33 MB / 4.462 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07048/10.68, allocations: 12.39 MB / 4.474 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/10.68, allocations: 3.75 kB / 4.474 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003376/10.68, allocations: 0.6369 MB / 4.475 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/10.68, allocations: 88.12 kB / 4.475 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003218/10.68, allocations: 67.25 kB / 4.475 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/10.68, allocations: 2.072 MB / 4.477 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/10.68, allocations: 2.875 kB / 4.477 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06201/10.74, allocations: 9.65 MB / 4.487 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003265/10.75, allocations: 1.055 MB / 4.488 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/10.75, allocations: 16.39 kB / 4.488 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004653/10.75, allocations: 283.6 kB / 4.488 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/10.75, allocations: 176.9 kB / 4.488 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/10.75, allocations: 128 kB / 4.488 GB, free: 210.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003663/10.76, allocations: 2.312 MB / 4.49 GB, free: 210.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/10.76, allocations: 0 / 4.49 GB, free: 210.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009222/10.77, allocations: 2.363 MB / 4.493 GB, free: 210 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.06575/10.83, allocations: 11.95 MB / 4.504 GB, free: 208.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008174/10.84, allocations: 5.292 MB / 4.51 GB, free: 207.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/10.84, allocations: 5.078 kB / 4.51 GB, free: 207.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/10.84, allocations: 1.679 MB / 4.511 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00964/10.85, allocations: 1.756 MB / 4.513 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/10.87, allocations: 8.937 MB / 4.522 GB, free: 205.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/10.88, allocations: 3.152 MB / 4.525 GB, free: 204.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01012/10.89, allocations: 2.823 MB / 4.528 GB, free: 204.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003341/10.89, allocations: 1.833 MB / 4.529 GB, free: 204.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.153e-06/10.89, allocations: 7.844 kB / 4.529 GB, free: 204.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1835/11.07, allocations: 116.6 MB / 4.643 GB, free: 160.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/11.07, allocations: 182.3 kB / 4.643 GB, free: 160.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.524/16.6, allocations: 0 / 4.643 GB, free: 160.7 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