Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0012/0.001199, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 70.77 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2393, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008309/0.2476, allocations: 8.351 MB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.3819, allocations: 149.5 MB / 1.206 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.3832, allocations: 23.88 kB / 1.206 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009597/0.3842, allocations: 234 kB / 1.207 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.3865, allocations: 0.7243 MB / 1.207 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.3888, allocations: 1.224 MB / 1.208 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.3912, allocations: 2.783 MB / 1.211 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.3927, allocations: 1.441 MB / 1.213 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.3938, allocations: 1.016 MB / 1.214 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.3948, allocations: 1.233 MB / 1.215 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.3951, allocations: 156 kB / 1.215 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009072/0.396, allocations: 0.5191 MB / 1.215 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.3964, allocations: 0.5292 MB / 1.216 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008684/0.3973, allocations: 1.17 MB / 1.217 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.3998, allocations: 3.462 MB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3998, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.41e-07/0.3998, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.682e-05/0.3999, allocations: 4 kB / 1.221 GB, free: 11.18 MB / 0.9825 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.005411/0.4053, allocations: 2.831 MB / 1.223 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4054, allocations: 11.97 kB / 1.223 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003423/0.4057, allocations: 316.9 kB / 1.224 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.4206, allocations: 2.112 MB / 1.226 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.4229, allocations: 1.262 MB / 1.227 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.423, allocations: 168.5 kB / 1.227 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.4234, allocations: 224 kB / 1.227 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007747/0.4311, allocations: 3.282 MB / 1.23 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.4312, allocations: 7.938 kB / 1.23 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.4314, allocations: 92 kB / 1.231 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.4315, allocations: 52 kB / 1.231 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.4426, allocations: 4.205 MB / 1.235 GB, free: 12.38 MB / 0.9981 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.01379/0.4564, allocations: 8.1 MB / 1.243 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007964/0.4644, allocations: 2.887 MB / 1.245 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4216/0.886, allocations: 1.484 MB / 1.247 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.8867, allocations: 0.5074 MB / 1.247 GB, free: 189 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004755/0.8915, allocations: 1.844 MB / 1.249 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.517e-06/0.8915, allocations: 0 / 1.249 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01314/0.9046, allocations: 4.47 MB / 1.254 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.9047, allocations: 208.6 kB / 1.254 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.9059, allocations: 0.9466 MB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.9061, allocations: 62.83 kB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.9066, allocations: 0.747 MB / 1.255 GB, free: 188 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.9071, allocations: 0.6837 MB / 1.256 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007066/0.9078, allocations: 375.5 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.9078, allocations: 301.8 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/0.9116, allocations: 1.236 MB / 1.258 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/0.9155, allocations: 1.434 MB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/0.9235, allocations: 2.586 MB / 1.262 GB, free: 187 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.9235, allocations: 0.6562 kB / 1.262 GB, free: 187 MB / 0.9981 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009751/0.9333, allocations: 3.075 MB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.9333, allocations: 6.766 kB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.9333, allocations: 1.625 kB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.934, allocations: 94.88 kB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/0.9378, allocations: 0.5883 MB / 1.266 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.9396, allocations: 1.536 MB / 1.267 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.9428, allocations: 369.5 kB / 1.267 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.9431, allocations: 97.27 kB / 1.268 GB, free: 185.4 MB / 0.9981 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.0009506/0.944, allocations: 441.1 kB / 1.268 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.9444, allocations: 161.8 kB / 1.268 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.9552, allocations: 3.707 MB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.9553, allocations: 23.03 kB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9553, allocations: 5.25 kB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.9553, allocations: 11.06 kB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.9584, allocations: 2.453 MB / 1.274 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.9584, allocations: 0.7031 kB / 1.274 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/0.9619, allocations: 0.5596 MB / 1.275 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.9624, allocations: 89.81 kB / 1.275 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.9626, allocations: 71.38 kB / 1.275 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.9642, allocations: 1.554 MB / 1.276 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9642, allocations: 3.938 kB / 1.276 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009226/0.9734, allocations: 3.21 MB / 1.28 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/0.9742, allocations: 0.5494 MB / 1.28 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.9745, allocations: 47.94 kB / 1.28 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/0.9771, allocations: 283.6 kB / 1.28 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.9774, allocations: 153.2 kB / 1.281 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/0.9776, allocations: 93.66 kB / 1.281 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000811/0.9784, allocations: 0.696 MB / 1.281 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9785, allocations: 1.156 kB / 1.281 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001609/0.9801, allocations: 0.6714 MB / 1.282 GB, free: 179.3 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.009924/0.99, allocations: 4.333 MB / 1.286 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008224/0.9982, allocations: 3.134 MB / 1.289 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9983, allocations: 0 / 1.289 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004197/1.002, allocations: 1.751 MB / 1.291 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.004, allocations: 375.3 kB / 1.291 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/1.037, allocations: 17.65 MB / 1.309 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/1.038, allocations: 1.427 MB / 1.31 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002873/1.041, allocations: 0.5833 MB / 1.311 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.042, allocations: 0.8818 MB / 1.311 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.042, allocations: 0 / 1.311 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8451/1.887, allocations: 40.92 MB / 1.351 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/1.887, allocations: 302.9 kB / 1.352 GB, free: 116 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/4.702, allocations: 0 / 1.352 GB, free: 116 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)