Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4719, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005554/0.4775, allocations: 6.471 MB / 0.956 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1312/0.6088, allocations: 151.6 MB / 1.104 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.6099, allocations: 19.94 kB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.6107, allocations: 257.3 kB / 1.104 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.6128, allocations: 0.696 MB / 1.105 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.6153, allocations: 1.357 MB / 1.106 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.6177, allocations: 2.66 MB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.6194, allocations: 1.588 MB / 1.111 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.6205, allocations: 1.137 MB / 1.112 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.6219, allocations: 1.28 MB / 1.113 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003861/0.6223, allocations: 324 kB / 1.113 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009363/0.6232, allocations: 0.6831 MB / 1.114 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.6237, allocations: 0.6894 MB / 1.115 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000854/0.6245, allocations: 1.267 MB / 1.116 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.627, allocations: 3.494 MB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.627, allocations: 0 / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.112e-06/0.627, allocations: 0 / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.6271, allocations: 4 kB / 1.119 GB, free: 3.656 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004893/0.632, allocations: 2.776 MB / 1.122 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.632, allocations: 8.031 kB / 1.122 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003175/0.6323, allocations: 320.9 kB / 1.122 GB, free: 476 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.6467, allocations: 2.112 MB / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.6483, allocations: 1.266 MB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6484, allocations: 172.5 kB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.6487, allocations: 216 kB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.6558, allocations: 3.278 MB / 1.129 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.6558, allocations: 7.922 kB / 1.129 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.6561, allocations: 95.94 kB / 1.129 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.6561, allocations: 60 kB / 1.129 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.6672, allocations: 4.197 MB / 1.133 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.6796, allocations: 7.308 MB / 1.14 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008027/0.6876, allocations: 2.879 MB / 1.143 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/0.6915, allocations: 1.489 MB / 1.145 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.6921, allocations: 0.4996 MB / 1.145 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004421/0.6966, allocations: 1.855 MB / 1.147 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 3.296e-06/0.6966, allocations: 0 / 1.147 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01322/0.7098, allocations: 4.462 MB / 1.151 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.7099, allocations: 205.9 kB / 1.152 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/0.7109, allocations: 0.9451 MB / 1.153 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.711, allocations: 65.7 kB / 1.153 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.7115, allocations: 0.7427 MB / 1.153 GB, free: 148 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.712, allocations: 0.6814 MB / 1.154 GB, free: 15.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006177/0.7126, allocations: 379.2 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.7127, allocations: 305.1 kB / 1.155 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.7166, allocations: 1.234 MB / 1.156 GB, free: 13.54 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/0.7205, allocations: 1.433 MB / 1.157 GB, free: 12.07 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007621/0.7282, allocations: 2.587 MB / 1.16 GB, free: 9.465 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7282, allocations: 0 / 1.16 GB, free: 9.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008949/0.7371, allocations: 3.069 MB / 1.163 GB, free: 6.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7372, allocations: 4 kB / 1.163 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7372, allocations: 4 kB / 1.163 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.7377, allocations: 88.83 kB / 1.163 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.741, allocations: 0.5851 MB / 1.163 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.7428, allocations: 1.642 MB / 1.165 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.7455, allocations: 363.7 kB / 1.165 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.7457, allocations: 95.89 kB / 1.165 GB, free: 3.465 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006815/0.7464, allocations: 435.7 kB / 1.166 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.7468, allocations: 150.1 kB / 1.166 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.7572, allocations: 3.72 MB / 1.17 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.7573, allocations: 24 kB / 1.17 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.7573, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.7573, allocations: 7.969 kB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.7597, allocations: 2.459 MB / 1.172 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.7597, allocations: 7.938 kB / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/0.7629, allocations: 0.5617 MB / 1.173 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.7633, allocations: 72.8 kB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.7635, allocations: 79.91 kB / 1.173 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.7652, allocations: 1.666 MB / 1.174 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7652, allocations: 0 / 1.174 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009227/0.7744, allocations: 3.207 MB / 1.178 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/0.7751, allocations: 0.5451 MB / 1.178 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.7755, allocations: 59.77 kB / 1.178 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/0.7781, allocations: 271.7 kB / 1.178 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.7784, allocations: 149.8 kB / 1.179 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/0.7786, allocations: 95.91 kB / 1.179 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007857/0.7794, allocations: 0.6958 MB / 1.179 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7794, allocations: 0 / 1.179 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001242/0.7806, allocations: 0.6348 MB / 1.18 GB, free: 4.359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/0.7912, allocations: 4.322 MB / 1.184 GB, free: 200 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.012/0.8032, allocations: 3.639 MB / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8032, allocations: 256 / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004512/0.8077, allocations: 1.759 MB / 1.189 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.8091, allocations: 372.8 kB / 1.19 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03515/0.8443, allocations: 16.96 MB / 1.206 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/0.8451, allocations: 1.426 MB / 1.208 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002801/0.8479, allocations: 0.5792 MB / 1.208 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.8494, allocations: 0.8779 MB / 1.209 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.8494, allocations: 0 / 1.209 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.656/3.505, allocations: 41.6 MB / 1.25 GB, free: 282.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/19.23, allocations: 7.438 kB / 1.25 GB, free: 282.4 MB / 0.9981 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)