Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_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.001094/0.001094, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.00129/0.00129, allocations: 168.7 kB / 15.95 MB, free: 204 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9277/0.9277, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 12 kB / 0.5071 GB, free: 4.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 82.32 MB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00412/0.1557, allocations: 3.577 MB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4014/0.5571, allocations: 136.7 MB / 0.7245 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.5577, allocations: 14.72 kB / 0.7245 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.5581, allocations: 135.4 kB / 0.7246 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.5593, allocations: 375.6 kB / 0.725 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.561, allocations: 0.6211 MB / 0.7256 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.5622, allocations: 1.04 MB / 0.7266 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007868/0.563, allocations: 0.5429 MB / 0.7271 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000514/0.5635, allocations: 308.3 kB / 0.7274 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.5639, allocations: 328.3 kB / 0.7277 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.564, allocations: 22.53 kB / 0.7278 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.5648, allocations: 334.7 kB / 0.7281 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.5651, allocations: 173.3 kB / 0.7282 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.5652, allocations: 188.5 kB / 0.7284 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.5666, allocations: 1.14 MB / 0.7295 GB, free: 5.301 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5666, allocations: 5.344 kB / 0.7295 GB, free: 5.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5666, allocations: 0.5156 kB / 0.7295 GB, free: 5.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.5666, allocations: 3.938 kB / 0.7295 GB, free: 5.293 MB / 0.545 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.002018/0.5686, allocations: 1.183 MB / 0.7307 GB, free: 4.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5687, allocations: 8.812 kB / 0.7307 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.5689, allocations: 145.8 kB / 0.7308 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.5704, allocations: 308.7 kB / 0.7311 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5714, allocations: 0.7013 MB / 0.7318 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.5715, allocations: 71.75 kB / 0.7319 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5716, allocations: 88.86 kB / 0.732 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.5735, allocations: 1.009 MB / 0.733 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5735, allocations: 0 / 0.733 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.5736, allocations: 40.88 kB / 0.733 GB, free: 3.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.5736, allocations: 21.41 kB / 0.733 GB, free: 3.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.5758, allocations: 1.224 MB / 0.7342 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.5801, allocations: 2.62 MB / 0.7368 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.5824, allocations: 0.9319 MB / 0.7377 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/0.5831, allocations: 336 kB / 0.738 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.5832, allocations: 36.64 kB / 0.738 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009448/0.5842, allocations: 494.1 kB / 0.7385 GB, free: 476 kB / 0.545 GB Notification: Performance of pre-optimization done (n=75): time 2.345e-06/0.5842, allocations: 0 / 0.7385 GB, free: 476 kB / 0.545 GB Notification: Performance of matching and sorting (n=75): time 0.003161/0.5873, allocations: 1.24 MB / 0.7397 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.5874, allocations: 193.3 kB / 0.7399 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.5881, allocations: 0.5936 MB / 0.7405 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.5882, allocations: 41.05 kB / 0.7405 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.5885, allocations: 406.4 kB / 0.7409 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.5886, allocations: 254.3 kB / 0.7412 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.5887, allocations: 15.5 kB / 0.7412 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5888, allocations: 380.6 kB / 0.7415 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.5895, allocations: 270.7 kB / 0.7418 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.5901, allocations: 379.1 kB / 0.7422 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.5908, allocations: 315.4 kB / 0.7425 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5908, allocations: 0 / 0.7425 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001911/0.5927, allocations: 0.8291 MB / 0.7433 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5928, allocations: 4 kB / 0.7433 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5928, allocations: 0 / 0.7433 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.5933, allocations: 88.86 kB / 0.7434 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.594, allocations: 163.8 kB / 0.7435 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.5958, allocations: 1.524 MB / 0.745 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.5965, allocations: 109 kB / 0.7451 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.5965, allocations: 31.97 kB / 0.7451 GB, free: 10.78 MB / 0.5606 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.000387/0.5969, allocations: 257.7 kB / 0.7454 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.597, allocations: 75.06 kB / 0.7455 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.5996, allocations: 1.123 MB / 0.7466 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5996, allocations: 8 kB / 0.7466 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5996, allocations: 0 / 0.7466 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5996, allocations: 7.984 kB / 0.7466 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.603, allocations: 2.038 MB / 0.7486 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6031, allocations: 0 / 0.7486 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.6037, allocations: 167.8 kB / 0.7487 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.6042, allocations: 81.66 kB / 0.7488 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.6043, allocations: 27.98 kB / 0.7488 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.6059, allocations: 1.548 MB / 0.7503 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6059, allocations: 3.953 kB / 0.7503 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.6079, allocations: 1.016 MB / 0.7513 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.6083, allocations: 279.7 kB / 0.7516 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6084, allocations: 19.95 kB / 0.7516 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.609, allocations: 83.92 kB / 0.7517 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6091, allocations: 60.91 kB / 0.7518 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.6092, allocations: 35.98 kB / 0.7518 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000496/0.6097, allocations: 442.9 kB / 0.7522 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6097, allocations: 0 / 0.7522 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008888/0.6106, allocations: 307.1 kB / 0.7525 GB, free: 2.977 MB / 0.5606 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.003391/0.614, allocations: 2.057 MB / 0.7545 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.6158, allocations: 0.833 MB / 0.7553 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6158, allocations: 0 / 0.7553 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009701/0.6167, allocations: 0.5432 MB / 0.7559 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6179, allocations: 254.4 kB / 0.7561 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.6273, allocations: 5.065 MB / 0.761 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.6278, allocations: 1.02 MB / 0.762 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000905/0.6287, allocations: 258.3 kB / 0.7623 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.6293, allocations: 387.2 kB / 0.7627 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6293, allocations: 0 / 0.7627 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.6697, allocations: 20.68 MB / 0.7828 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.6699, allocations: 292.2 kB / 0.7831 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.973, allocations: 3.938 kB / 0.7831 GB, free: 4.004 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: