Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_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.001927/0.001933, 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.002106/0.002106, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.442/2.442, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 64.12 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2324, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009484/0.2419, allocations: 8.415 MB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.3926, allocations: 151.8 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3938, allocations: 27.88 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009121/0.3948, allocations: 324.6 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.3972, allocations: 0.8508 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.3999, allocations: 1.381 MB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002906/0.4028, allocations: 2.978 MB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.4045, allocations: 1.496 MB / 1.227 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.4056, allocations: 1.172 MB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.407, allocations: 1.346 MB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003737/0.4074, allocations: 324 kB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009928/0.4084, allocations: 0.6754 MB / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005646/0.4089, allocations: 0.6972 MB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.41, allocations: 1.341 MB / 1.233 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.4131, allocations: 3.595 MB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4131, allocations: 0 / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4131, allocations: 0 / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.4131, allocations: 0 / 1.236 GB, free: 13.09 MB / 0.9981 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.005185/0.4183, allocations: 2.827 MB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.4183, allocations: 8.031 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003456/0.4187, allocations: 316.9 kB / 1.239 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.4335, allocations: 2.116 MB / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.4352, allocations: 1.266 MB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.4353, allocations: 168.5 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/0.4357, allocations: 224 kB / 1.243 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007588/0.4433, allocations: 3.278 MB / 1.246 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.4433, allocations: 0 / 1.246 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.4436, allocations: 95.98 kB / 1.246 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.4436, allocations: 56 kB / 1.246 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4064/0.85, allocations: 4.197 MB / 1.251 GB, free: 183.3 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.02045/0.8705, allocations: 8.098 MB / 1.258 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009883/0.8804, allocations: 2.888 MB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003755/0.8842, allocations: 1.488 MB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/0.8848, allocations: 0.507 MB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004337/0.8891, allocations: 1.844 MB / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.426e-06/0.8891, allocations: 2.344 kB / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01347/0.9026, allocations: 4.469 MB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.9027, allocations: 209.7 kB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.9038, allocations: 0.9471 MB / 1.271 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.9039, allocations: 68.22 kB / 1.271 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.9044, allocations: 0.7477 MB / 1.271 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.9049, allocations: 0.6772 MB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000739/0.9056, allocations: 378.9 kB / 1.272 GB, free: 176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.855e-05/0.9056, allocations: 302.2 kB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/0.9094, allocations: 1.237 MB / 1.274 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/0.9148, allocations: 1.439 MB / 1.275 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/0.9273, allocations: 2.587 MB / 1.278 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.9274, allocations: 7.5 kB / 1.278 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01455/0.9419, allocations: 3.069 MB / 1.281 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.942, allocations: 5.75 kB / 1.281 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.942, allocations: 1.406 kB / 1.281 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/0.9428, allocations: 87.11 kB / 1.281 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005572/0.9484, allocations: 0.5966 MB / 1.281 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.9501, allocations: 1.636 MB / 1.283 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.9528, allocations: 355.2 kB / 1.283 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.953, allocations: 103 kB / 1.283 GB, free: 170.9 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.0006889/0.9537, allocations: 443.1 kB / 1.284 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.954, allocations: 156.6 kB / 1.284 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009938/0.964, allocations: 3.722 MB / 1.288 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.964, allocations: 21.97 kB / 1.288 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.964, allocations: 0.875 kB / 1.288 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.964, allocations: 11.95 kB / 1.288 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.9661, allocations: 2.467 MB / 1.29 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9661, allocations: 1.094 kB / 1.29 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/0.9692, allocations: 0.558 MB / 1.291 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.9696, allocations: 78.09 kB / 1.291 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.9698, allocations: 71.88 kB / 1.291 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.9711, allocations: 1.669 MB / 1.292 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.9711, allocations: 1.25 kB / 1.292 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0085/0.9796, allocations: 3.211 MB / 1.296 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/0.9802, allocations: 0.5465 MB / 1.296 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.9805, allocations: 53.78 kB / 1.296 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.983, allocations: 267.5 kB / 1.296 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.9834, allocations: 148.6 kB / 1.297 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/0.9837, allocations: 98.38 kB / 1.297 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001041/0.9848, allocations: 0.6955 MB / 1.297 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/0.9848, allocations: 4 kB / 1.297 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001912/0.9867, allocations: 0.6747 MB / 1.298 GB, free: 162 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.01639/1.003, allocations: 4.321 MB / 1.302 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01887/1.022, allocations: 3.636 MB / 1.306 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.022, allocations: 0 / 1.306 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004004/1.026, allocations: 1.759 MB / 1.308 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.027, allocations: 403.3 kB / 1.308 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/1.057, allocations: 16.72 MB / 1.324 GB, free: 138 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/1.058, allocations: 1.435 MB / 1.326 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004888/1.063, allocations: 0.5757 MB / 1.326 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/1.065, allocations: 0.8779 MB / 1.327 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.065, allocations: 0 / 1.327 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.834/3.899, allocations: 42.39 MB / 1.368 GB, free: 93.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.85/28.75, allocations: 12.44 kB / 1.368 GB, free: 93.07 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)