Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.0007899/0.0007899, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009256/0.0009258, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7313/0.7313, allocations: 132.3 MB / 423.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 9.219 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4089, allocations: 81.57 MB / 0.5832 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003878/0.4128, allocations: 3.6 MB / 0.5867 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1541/0.567, allocations: 136.7 MB / 0.7202 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.5678, allocations: 15.88 kB / 0.7202 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.5683, allocations: 131 kB / 0.7203 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.5697, allocations: 389.1 kB / 0.7207 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5712, allocations: 0.6215 MB / 0.7213 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.5724, allocations: 1.036 MB / 0.7223 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007889/0.5732, allocations: 0.5502 MB / 0.7228 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.5737, allocations: 310.5 kB / 0.7231 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.5742, allocations: 330.2 kB / 0.7234 GB, free: 496 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.5743, allocations: 24 kB / 0.7235 GB, free: 472 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.5749, allocations: 331.7 kB / 0.7238 GB, free: 140 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.5751, allocations: 171.2 kB / 0.7239 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.5753, allocations: 189 kB / 0.7241 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.5764, allocations: 1.138 MB / 0.7252 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5765, allocations: 0 / 0.7252 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5765, allocations: 7.875 kB / 0.7252 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.5765, allocations: 0 / 0.7252 GB, free: 14.63 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00185/0.5783, allocations: 1.186 MB / 0.7264 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5784, allocations: 12.02 kB / 0.7264 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.5785, allocations: 147.7 kB / 0.7266 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.58, allocations: 306.4 kB / 0.7268 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.5809, allocations: 0.7069 MB / 0.7275 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.581, allocations: 66 kB / 0.7276 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5811, allocations: 88 kB / 0.7277 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.5828, allocations: 1.003 MB / 0.7287 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5829, allocations: 4 kB / 0.7287 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.5829, allocations: 39.95 kB / 0.7287 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.583, allocations: 20 kB / 0.7287 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.585, allocations: 1.225 MB / 0.7299 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.5889, allocations: 2.606 MB / 0.7325 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.5911, allocations: 0.9287 MB / 0.7334 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.5917, allocations: 338.6 kB / 0.7337 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.473e-05/0.5918, allocations: 32.69 kB / 0.7337 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009455/0.5928, allocations: 499.1 kB / 0.7342 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 2.134e-06/0.5928, allocations: 0 / 0.7342 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.00316/0.596, allocations: 1.241 MB / 0.7354 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.5961, allocations: 188.6 kB / 0.7356 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.5967, allocations: 0.5979 MB / 0.7362 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.5968, allocations: 41.7 kB / 0.7362 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.5971, allocations: 404.2 kB / 0.7366 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.5973, allocations: 252.3 kB / 0.7368 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.5973, allocations: 12 kB / 0.7369 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5975, allocations: 390.6 kB / 0.7372 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/0.5981, allocations: 273.1 kB / 0.7375 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.5988, allocations: 378.7 kB / 0.7379 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.5995, allocations: 311.1 kB / 0.7381 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5995, allocations: 3.938 kB / 0.7382 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001941/0.6014, allocations: 0.8329 MB / 0.739 GB, free: 192 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6015, allocations: 6.031 kB / 0.739 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6015, allocations: 0 / 0.739 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.602, allocations: 76.88 kB / 0.739 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.6028, allocations: 167.8 kB / 0.7392 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.6046, allocations: 1.516 MB / 0.7407 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.6053, allocations: 107.4 kB / 0.7408 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.6054, allocations: 27.97 kB / 0.7408 GB, free: 14.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004108/0.6058, allocations: 253.7 kB / 0.7411 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6059, allocations: 75.06 kB / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.6085, allocations: 1.127 MB / 0.7422 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6085, allocations: 12 kB / 0.7422 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6085, allocations: 0 / 0.7422 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6085, allocations: 3.984 kB / 0.7422 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.6119, allocations: 2.043 MB / 0.7442 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.612, allocations: 0 / 0.7442 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/0.6127, allocations: 171.8 kB / 0.7444 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.6131, allocations: 84.72 kB / 0.7445 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.6132, allocations: 19.98 kB / 0.7445 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.6149, allocations: 1.559 MB / 0.746 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6149, allocations: 0 / 0.746 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6171, allocations: 1.023 MB / 0.747 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.6175, allocations: 271.7 kB / 0.7473 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6176, allocations: 20 kB / 0.7473 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.6183, allocations: 83.92 kB / 0.7474 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6184, allocations: 64.91 kB / 0.7474 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.6185, allocations: 31.98 kB / 0.7475 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005186/0.619, allocations: 435 kB / 0.7479 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.533e-06/0.619, allocations: 4 kB / 0.7479 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008747/0.6199, allocations: 307 kB / 0.7482 GB, free: 6.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003426/0.6233, allocations: 2.064 MB / 0.7502 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.6252, allocations: 0.8332 MB / 0.751 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6252, allocations: 3.938 kB / 0.751 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.6262, allocations: 0.5392 MB / 0.7515 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.6273, allocations: 252.9 kB / 0.7518 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/0.6371, allocations: 5.07 MB / 0.7567 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.6377, allocations: 1.023 MB / 0.7577 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009477/0.6387, allocations: 262.3 kB / 0.758 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.6392, allocations: 387.2 kB / 0.7584 GB, free: 12 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.6392, allocations: 0 / 0.7584 GB, free: 12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.6767, allocations: 20.66 MB / 0.7785 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6769, allocations: 287.1 kB / 0.7788 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.96, allocations: 0 / 0.7788 GB, free: 7.418 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: