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.824/1.824, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.001103/0.001103, allocations: 181 kB / 371.8 MB, free: 10.25 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.747/1.747, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008407/0.000841, allocations: 86.91 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 14.47 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2961, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008199/0.3044, allocations: 5.102 MB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7269/1.031, allocations: 128.1 MB / 1.11 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/1.033, allocations: 21.88 kB / 1.11 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004995/1.033, allocations: 112.6 kB / 1.11 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/1.035, allocations: 0.5559 MB / 1.11 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/1.038, allocations: 0.9041 MB / 1.111 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002497/1.04, allocations: 1.351 MB / 1.112 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/1.042, allocations: 1.105 MB / 1.114 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/1.044, allocations: 0.6935 MB / 1.114 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/1.045, allocations: 0.7474 MB / 1.115 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/1.045, allocations: 58.88 kB / 1.115 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/1.047, allocations: 299 kB / 1.115 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/1.047, allocations: 341.9 kB / 1.116 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/1.047, allocations: 352.9 kB / 1.116 GB, free: 17.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/1.05, allocations: 2.299 MB / 1.118 GB, free: 17.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/1.05, allocations: 0 / 1.118 GB, free: 17.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.05, allocations: 0 / 1.118 GB, free: 17.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.899e-05/1.05, allocations: 0 / 1.118 GB, free: 17.21 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.006044/1.056, allocations: 2.081 MB / 1.12 GB, free: 16.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/1.056, allocations: 9.531 kB / 1.12 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006751/1.057, allocations: 297.9 kB / 1.12 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/1.072, allocations: 2.188 MB / 1.123 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/1.076, allocations: 1.147 MB / 1.124 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.076, allocations: 158.4 kB / 1.124 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005893/1.076, allocations: 199.3 kB / 1.124 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008839/1.085, allocations: 3.078 MB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/1.085, allocations: 0 / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/1.086, allocations: 82.25 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/1.086, allocations: 50.84 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/1.098, allocations: 4.08 MB / 1.131 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/1.116, allocations: 6.622 MB / 1.138 GB, free: 9.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009347/1.126, allocations: 2.733 MB / 1.14 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/1.127, allocations: 0.5043 MB / 1.141 GB, free: 8.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005005/1.132, allocations: 1.627 MB / 1.142 GB, free: 8.363 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 4.408e-06/1.132, allocations: 0 / 1.142 GB, free: 8.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01404/1.146, allocations: 4.043 MB / 1.146 GB, free: 7.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.146, allocations: 201.2 kB / 1.147 GB, free: 7.188 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.147, allocations: 0.8316 MB / 1.147 GB, free: 6.906 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/1.148, allocations: 64.14 kB / 1.147 GB, free: 6.871 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/1.148, allocations: 0.6958 MB / 1.148 GB, free: 6.449 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006516/1.149, allocations: 0.6182 MB / 1.149 GB, free: 5.992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.149, allocations: 33.97 kB / 1.149 GB, free: 5.992 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.149, allocations: 365.5 kB / 1.149 GB, free: 5.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/1.153, allocations: 1.114 MB / 1.15 GB, free: 5.449 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/1.157, allocations: 1.299 MB / 1.151 GB, free: 5.094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/1.161, allocations: 1.162 MB / 1.153 GB, free: 4.914 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.161, allocations: 2.656 kB / 1.153 GB, free: 4.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.008996/1.17, allocations: 2.803 MB / 1.155 GB, free: 4.289 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.17, allocations: 7.594 kB / 1.155 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.17, allocations: 2.5 kB / 1.155 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.171, allocations: 88 kB / 1.155 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/1.174, allocations: 0.5468 MB / 1.156 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.176, allocations: 1.531 MB / 1.157 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/1.18, allocations: 313.9 kB / 1.158 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004749/1.18, allocations: 89.91 kB / 1.158 GB, free: 2.551 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * 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.001864/1.182, allocations: 402.8 kB / 1.158 GB, free: 2.398 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.183, allocations: 141.6 kB / 1.158 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.196, allocations: 3.39 MB / 1.162 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.196, allocations: 20.69 kB / 1.162 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/1.196, allocations: 3.953 kB / 1.162 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.272e-05/1.197, allocations: 11.95 kB / 1.162 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/1.212, allocations: 5.572 MB / 1.167 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.212, allocations: 0 / 1.167 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003415/1.215, allocations: 0.5236 MB / 1.168 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/1.216, allocations: 96.19 kB / 1.168 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/1.216, allocations: 64.86 kB / 1.168 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.218, allocations: 1.566 MB / 1.169 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.218, allocations: 0 / 1.169 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.228, allocations: 2.948 MB / 1.172 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.23, allocations: 0.5295 MB / 1.173 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/1.23, allocations: 36 kB / 1.173 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/1.233, allocations: 248 kB / 1.173 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/1.233, allocations: 121.8 kB / 1.173 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.234, allocations: 87.91 kB / 1.173 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001072/1.235, allocations: 0.6068 MB / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.235, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002154/1.237, allocations: 0.5587 MB / 1.174 GB, free: 10.16 MB / 0.7136 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.01168/1.249, allocations: 4.012 MB / 1.178 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009582/1.258, allocations: 2.846 MB / 1.181 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.258, allocations: 4 kB / 1.181 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005002/1.263, allocations: 1.595 MB / 1.183 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.265, allocations: 287.2 kB / 1.183 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/1.303, allocations: 12.34 MB / 1.195 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.304, allocations: 1.396 MB / 1.196 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005178/1.31, allocations: 0.5465 MB / 1.197 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/1.312, allocations: 0.7959 MB / 1.198 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of SimCode: time 2.074e-06/1.312, allocations: 0 / 1.198 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08162/1.394, allocations: 37.49 MB / 1.234 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/1.394, allocations: 283.1 kB / 1.234 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.483/4.877, allocations: 0 / 1.234 GB, free: 12.56 MB / 0.7761 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)