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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 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.0009853/0.0009854, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.223/1.223, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.426/2.426, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 72.11 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2487, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0088/0.2575, allocations: 8.433 MB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1527/0.4103, allocations: 151.8 MB / 1.209 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008793/0.4112, allocations: 23.88 kB / 1.209 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.4119, allocations: 324.6 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.4139, allocations: 0.8486 MB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.4162, allocations: 1.378 MB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.4184, allocations: 2.978 MB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.4201, allocations: 1.496 MB / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.4212, allocations: 1.176 MB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.4224, allocations: 1.342 MB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.4228, allocations: 328 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4238, allocations: 0.6676 MB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.4244, allocations: 0.6972 MB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.4254, allocations: 1.345 MB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.4282, allocations: 3.595 MB / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4282, allocations: 4 kB / 1.225 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.011e-06/0.4282, allocations: 4 kB / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.4282, allocations: 0 / 1.225 GB, free: 7.094 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.005218/0.4335, allocations: 2.826 MB / 1.228 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4335, allocations: 12.61 kB / 1.228 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003349/0.4339, allocations: 316.9 kB / 1.228 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/0.4491, allocations: 2.104 MB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.451, allocations: 1.27 MB / 1.232 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.4511, allocations: 168.5 kB / 1.232 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.4515, allocations: 220 kB / 1.232 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007787/0.4593, allocations: 3.282 MB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.4593, allocations: 4 kB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.4596, allocations: 92 kB / 1.235 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.4596, allocations: 52 kB / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.4717, allocations: 4.201 MB / 1.239 GB, free: 8.309 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.3998/0.8716, allocations: 8.097 MB / 1.247 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009061/0.8807, allocations: 2.884 MB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/0.8845, allocations: 1.492 MB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.8851, allocations: 0.5054 MB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004309/0.8894, allocations: 1.838 MB / 1.254 GB, free: 188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.427e-06/0.8894, allocations: 3.375 kB / 1.254 GB, free: 188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01338/0.9028, allocations: 4.471 MB / 1.258 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.9029, allocations: 204.5 kB / 1.258 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.904, allocations: 0.9447 MB / 1.259 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.9042, allocations: 69.59 kB / 1.259 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.9047, allocations: 0.7462 MB / 1.26 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.9051, allocations: 0.6823 MB / 1.261 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007148/0.9059, allocations: 376.4 kB / 1.261 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.9059, allocations: 302.5 kB / 1.261 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004209/0.9101, allocations: 1.24 MB / 1.263 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004232/0.9144, allocations: 1.435 MB / 1.264 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008318/0.9227, allocations: 2.585 MB / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.9227, allocations: 0.5938 kB / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009623/0.9323, allocations: 3.081 MB / 1.27 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9324, allocations: 6.781 kB / 1.27 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.9324, allocations: 1.469 kB / 1.27 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.933, allocations: 89.81 kB / 1.27 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/0.9365, allocations: 0.5924 MB / 1.27 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.9382, allocations: 1.633 MB / 1.272 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.9411, allocations: 357.3 kB / 1.272 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.9413, allocations: 99.62 kB / 1.272 GB, free: 183.5 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.0008333/0.9421, allocations: 440.1 kB / 1.273 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.9425, allocations: 154 kB / 1.273 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.9534, allocations: 3.715 MB / 1.277 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.9534, allocations: 22.38 kB / 1.277 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9534, allocations: 0 / 1.277 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.9535, allocations: 13.66 kB / 1.277 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.9561, allocations: 2.464 MB / 1.279 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.9561, allocations: 0 / 1.279 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/0.9594, allocations: 0.5658 MB / 1.279 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.9598, allocations: 79.61 kB / 1.28 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.96, allocations: 77.41 kB / 1.28 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.9614, allocations: 1.659 MB / 1.281 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9615, allocations: 3.938 kB / 1.281 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009002/0.9705, allocations: 3.211 MB / 1.284 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/0.9712, allocations: 0.5472 MB / 1.285 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.9715, allocations: 53.91 kB / 1.285 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/0.9742, allocations: 266.9 kB / 1.285 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.9744, allocations: 154 kB / 1.285 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/0.9746, allocations: 92.7 kB / 1.285 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007808/0.9754, allocations: 0.7008 MB / 1.286 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9754, allocations: 3.938 kB / 1.286 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001562/0.977, allocations: 0.6674 MB / 1.287 GB, free: 176.9 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.009989/0.987, allocations: 4.331 MB / 1.291 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01164/0.9986, allocations: 3.643 MB / 1.295 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9987, allocations: 0 / 1.295 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004157/1.003, allocations: 1.764 MB / 1.296 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.004, allocations: 394.2 kB / 1.297 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/1.035, allocations: 16.73 MB / 1.313 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/1.035, allocations: 1.427 MB / 1.314 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002953/1.038, allocations: 0.5747 MB / 1.315 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.04, allocations: 0.8818 MB / 1.316 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.04, allocations: 0 / 1.316 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6924/1.732, allocations: 42.4 MB / 1.357 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/13.05, allocations: 10.03 kB / 1.357 GB, free: 110.9 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)