Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.762/1.762, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 185.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.0008952, allocations: 89.17 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004413, allocations: 18.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.2/5.455, allocations: 2.076 GB / 3.056 GB, free: 204.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/5.455, allocations: 95.2 kB / 3.056 GB, free: 204.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2191/5.674, allocations: 96.87 MB / 3.15 GB, free: 116.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/5.674, allocations: 4 kB / 3.15 GB, free: 116.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001542/5.675, allocations: 43.98 kB / 3.15 GB, free: 116.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.005669/5.68, allocations: 2.011 MB / 3.152 GB, free: 114.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/5.68, allocations: 8.031 kB / 3.152 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008647/5.681, allocations: 270.1 kB / 3.153 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/5.694, allocations: 1.804 MB / 3.154 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/5.698, allocations: 1.028 MB / 3.155 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/5.698, allocations: 147.7 kB / 3.155 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/5.699, allocations: 180 kB / 3.156 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009865/5.709, allocations: 2.918 MB / 3.158 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/5.709, allocations: 7.984 kB / 3.159 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005506/5.71, allocations: 76 kB / 3.159 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/5.71, allocations: 44 kB / 3.159 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/5.722, allocations: 4.007 MB / 3.163 GB, free: 104.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/5.737, allocations: 6.252 MB / 3.169 GB, free: 97.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008403/5.745, allocations: 2.74 MB / 3.171 GB, free: 95.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/5.746, allocations: 0.4957 MB / 3.172 GB, free: 94.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004583/5.751, allocations: 1.64 MB / 3.173 GB, free: 92.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 5.911e-06/5.751, allocations: 0 / 3.173 GB, free: 92.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.01352/5.764, allocations: 4.054 MB / 3.177 GB, free: 88.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/5.765, allocations: 261.3 kB / 3.178 GB, free: 88.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/5.766, allocations: 0.7664 MB / 3.178 GB, free: 87.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003244/5.767, allocations: 61.69 kB / 3.178 GB, free: 87.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/5.767, allocations: 0.6258 MB / 3.179 GB, free: 87.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/5.768, allocations: 0.6236 MB / 3.18 GB, free: 86.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/5.768, allocations: 32 kB / 3.18 GB, free: 86.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/5.768, allocations: 365.9 kB / 3.18 GB, free: 86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/5.772, allocations: 1.12 MB / 3.181 GB, free: 84.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/5.775, allocations: 1.313 MB / 3.182 GB, free: 83.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/5.779, allocations: 1.162 MB / 3.184 GB, free: 82.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/5.779, allocations: 0 / 3.184 GB, free: 82.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008609/5.787, allocations: 2.8 MB / 3.186 GB, free: 79.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/5.788, allocations: 7.953 kB / 3.186 GB, free: 79.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/5.788, allocations: 0 / 3.186 GB, free: 79.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/5.788, allocations: 92.86 kB / 3.186 GB, free: 79.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/5.792, allocations: 0.5422 MB / 3.187 GB, free: 78.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/5.794, allocations: 1.54 MB / 3.188 GB, free: 77.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/5.797, allocations: 306.4 kB / 3.189 GB, free: 76.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/5.798, allocations: 87.89 kB / 3.189 GB, free: 76.85 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.001683/5.799, allocations: 380.2 kB / 3.189 GB, free: 76.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/5.8, allocations: 146.3 kB / 3.189 GB, free: 76.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/5.811, allocations: 3.392 MB / 3.193 GB, free: 72.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/5.811, allocations: 23.98 kB / 3.193 GB, free: 72.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/5.811, allocations: 112 / 3.193 GB, free: 72.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/5.811, allocations: 15.89 kB / 3.193 GB, free: 72.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/5.824, allocations: 5.553 MB / 3.198 GB, free: 67.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/5.824, allocations: 3.938 kB / 3.198 GB, free: 67.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003304/5.827, allocations: 0.5305 MB / 3.199 GB, free: 66.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/5.828, allocations: 84.78 kB / 3.199 GB, free: 66.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/5.828, allocations: 67.92 kB / 3.199 GB, free: 66.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/5.83, allocations: 1.559 MB / 3.2 GB, free: 64.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.83, allocations: 7.891 kB / 3.2 GB, free: 64.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008187/5.838, allocations: 2.945 MB / 3.203 GB, free: 61.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/5.839, allocations: 0.5258 MB / 3.204 GB, free: 61.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/5.84, allocations: 39.95 kB / 3.204 GB, free: 61.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/5.842, allocations: 247.8 kB / 3.204 GB, free: 61.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/5.842, allocations: 133.7 kB / 3.204 GB, free: 60.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/5.842, allocations: 80.2 kB / 3.204 GB, free: 60.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008487/5.843, allocations: 0.6451 MB / 3.205 GB, free: 60.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/5.843, allocations: 0 / 3.205 GB, free: 60.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001972/5.845, allocations: 0.6233 MB / 3.205 GB, free: 59.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.01041/5.856, allocations: 4.472 MB / 3.21 GB, free: 55.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008365/5.864, allocations: 2.85 MB / 3.212 GB, free: 52.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/5.864, allocations: 0 / 3.212 GB, free: 52.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004158/5.868, allocations: 1.599 MB / 3.214 GB, free: 50.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/5.87, allocations: 274.2 kB / 3.214 GB, free: 50.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/5.898, allocations: 11.97 MB / 3.226 GB, free: 38.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/5.899, allocations: 1.358 MB / 3.227 GB, free: 36.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003578/5.903, allocations: 0.5462 MB / 3.228 GB, free: 36.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/5.904, allocations: 0.753 MB / 3.229 GB, free: 35.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/5.904, allocations: 0 / 3.229 GB, free: 35.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5892/6.493, allocations: 46.29 MB / 3.274 GB, free: 293.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/6.494, allocations: 275.9 kB / 3.274 GB, free: 293.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.832/10.33, allocations: 2.5 kB / 3.274 GB, free: 293.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)