Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.258/2.258, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4578, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00793/0.4658, allocations: 8.411 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1333/0.5991, allocations: 149.5 MB / 1.171 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.6004, allocations: 31.75 kB / 1.171 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009715/0.6014, allocations: 242 kB / 1.171 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.6039, allocations: 0.7242 MB / 1.172 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.6065, allocations: 1.225 MB / 1.173 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002754/0.6092, allocations: 2.771 MB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.6108, allocations: 1.445 MB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.6118, allocations: 1.02 MB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.6129, allocations: 1.227 MB / 1.179 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.6131, allocations: 160 kB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008751/0.614, allocations: 0.5074 MB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.6144, allocations: 0.5331 MB / 1.181 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008654/0.6153, allocations: 1.185 MB / 1.182 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.6178, allocations: 3.454 MB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6178, allocations: 4 kB / 1.185 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6178, allocations: 0 / 1.185 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.6178, allocations: 0 / 1.185 GB, free: 5.684 MB / 0.9356 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.005039/0.6228, allocations: 2.83 MB / 1.188 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6229, allocations: 8.031 kB / 1.188 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003228/0.6232, allocations: 316.9 kB / 1.188 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.6378, allocations: 2.112 MB / 1.19 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.6395, allocations: 1.262 MB / 1.191 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.6396, allocations: 172.5 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.6399, allocations: 219.9 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007233/0.6472, allocations: 3.282 MB / 1.195 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.6472, allocations: 0 / 1.195 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.6475, allocations: 92 kB / 1.195 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.6475, allocations: 56 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.6586, allocations: 4.193 MB / 1.199 GB, free: 6.902 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01313/0.6718, allocations: 8.104 MB / 1.207 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/0.6796, allocations: 2.886 MB / 1.21 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003736/0.6833, allocations: 1.491 MB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.684, allocations: 0.5035 MB / 1.212 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00439/0.6884, allocations: 1.851 MB / 1.214 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 3.146e-06/0.6884, allocations: 0 / 1.214 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01301/0.7014, allocations: 4.47 MB / 1.218 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.7015, allocations: 209.9 kB / 1.218 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.7026, allocations: 0.9451 MB / 1.219 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.7027, allocations: 65.7 kB / 1.219 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.7032, allocations: 0.7426 MB / 1.22 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.7037, allocations: 0.6777 MB / 1.221 GB, free: 456 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000641/0.7044, allocations: 391.1 kB / 1.221 GB, free: 56 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.7045, allocations: 301.1 kB / 1.221 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.7082, allocations: 1.237 MB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/0.7121, allocations: 1.433 MB / 1.224 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/0.7195, allocations: 2.583 MB / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7195, allocations: 0 / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008695/0.7282, allocations: 3.081 MB / 1.229 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7282, allocations: 8 kB / 1.229 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.7282, allocations: 0 / 1.229 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/0.7288, allocations: 92.81 kB / 1.23 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/0.7321, allocations: 0.5928 MB / 1.23 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5814/1.313, allocations: 1.536 MB / 1.232 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/1.318, allocations: 378 kB / 1.232 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/1.318, allocations: 95.89 kB / 1.232 GB, free: 4.523 MB / 0.9825 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.0008886/1.319, allocations: 441.9 kB / 1.233 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/1.32, allocations: 158 kB / 1.233 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009802/1.329, allocations: 3.72 MB / 1.236 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.33, allocations: 20 kB / 1.236 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.33, allocations: 0 / 1.236 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.33, allocations: 11.95 kB / 1.236 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/1.332, allocations: 2.46 MB / 1.239 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.332, allocations: 0 / 1.239 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/1.335, allocations: 0.5616 MB / 1.239 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/1.336, allocations: 88.77 kB / 1.239 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.336, allocations: 79.84 kB / 1.239 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.337, allocations: 1.544 MB / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.337, allocations: 0 / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008355/1.346, allocations: 3.214 MB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/1.346, allocations: 0.5451 MB / 1.245 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/1.347, allocations: 47.94 kB / 1.245 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.349, allocations: 291.5 kB / 1.245 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/1.349, allocations: 149.8 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/1.35, allocations: 91.91 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007779/1.35, allocations: 0.7036 MB / 1.246 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.333e-06/1.35, allocations: 0 / 1.246 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001307/1.352, allocations: 0.6661 MB / 1.247 GB, free: 5.488 MB / 0.9981 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.009736/1.362, allocations: 4.325 MB / 1.251 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3466/1.708, allocations: 3.129 MB / 1.254 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.708, allocations: 1.125 kB / 1.254 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/1.713, allocations: 1.749 MB / 1.256 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.714, allocations: 374.3 kB / 1.256 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03626/1.751, allocations: 17.66 MB / 1.273 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/1.752, allocations: 1.431 MB / 1.275 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002961/1.755, allocations: 0.5732 MB / 1.275 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.756, allocations: 0.8734 MB / 1.276 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.756, allocations: 0 / 1.276 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.043/6.799, allocations: 40.94 MB / 1.316 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/6.8, allocations: 297.7 kB / 1.316 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/9.956, allocations: 1.719 kB / 1.316 GB, free: 185.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)