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.001226/0.001226, 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.001253/0.001253, allocations: 195.8 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.287/1.287, 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/IDEAS 3.0.0-master/package.mo): time 0.8604/0.8604, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 65.34 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 80.93 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005335/0.1297, allocations: 4.182 MB / 0.5886 GB, free: 208 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3469/0.4766, allocations: 150.5 MB / 0.7355 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.4773, allocations: 19.28 kB / 0.7355 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.4779, allocations: 166 kB / 0.7357 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.4794, allocations: 486.6 kB / 0.7362 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4812, allocations: 0.7968 MB / 0.7369 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.4825, allocations: 1.199 MB / 0.7381 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.4835, allocations: 0.7015 MB / 0.7388 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006595/0.4842, allocations: 463.6 kB / 0.7392 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.4848, allocations: 488.7 kB / 0.7397 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.485, allocations: 114 kB / 0.7398 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007727/0.4857, allocations: 468.6 kB / 0.7403 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.486, allocations: 292.9 kB / 0.7405 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.4867, allocations: 0.5334 MB / 0.7411 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.4885, allocations: 1.545 MB / 0.7426 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4885, allocations: 0 / 0.7426 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4885, allocations: 0 / 0.7426 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.987e-05/0.4885, allocations: 1.375 kB / 0.7426 GB, free: 8.305 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.002649/0.4912, allocations: 1.396 MB / 0.7439 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4912, allocations: 9.625 kB / 0.7439 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.4914, allocations: 142.2 kB / 0.7441 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.4933, allocations: 301.4 kB / 0.7444 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009352/0.4942, allocations: 0.7335 MB / 0.7451 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.4943, allocations: 66.84 kB / 0.7451 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.4944, allocations: 85.38 kB / 0.7452 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.496, allocations: 1.016 MB / 0.7462 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4961, allocations: 2 kB / 0.7462 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.4962, allocations: 39.84 kB / 0.7463 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.4962, allocations: 24.06 kB / 0.7463 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4982, allocations: 1.218 MB / 0.7475 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.502, allocations: 2.58 MB / 0.75 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.5044, allocations: 0.9389 MB / 0.7509 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.5052, allocations: 334.6 kB / 0.7512 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/0.5052, allocations: 28.69 kB / 0.7513 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009969/0.5063, allocations: 487.2 kB / 0.7517 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.5063, allocations: 0 / 0.7517 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003462/0.5097, allocations: 1.233 MB / 0.7529 GB, free: 52 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5099, allocations: 196.6 kB / 0.7531 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.5105, allocations: 0.5979 MB / 0.7537 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.5106, allocations: 41.7 kB / 0.7537 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.5109, allocations: 408.2 kB / 0.7541 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.5111, allocations: 244.4 kB / 0.7544 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.5113, allocations: 142.2 kB / 0.7545 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5114, allocations: 386.7 kB / 0.7549 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.5121, allocations: 269.1 kB / 0.7551 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/0.5129, allocations: 370.7 kB / 0.7555 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.5144, allocations: 0.6292 MB / 0.7561 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5144, allocations: 4 kB / 0.7561 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002141/0.5165, allocations: 0.8213 MB / 0.7569 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5165, allocations: 7.938 kB / 0.7569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5165, allocations: 0 / 0.7569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.5171, allocations: 88.73 kB / 0.757 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.5178, allocations: 167.8 kB / 0.7571 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.5198, allocations: 1.621 MB / 0.7587 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.5204, allocations: 99.25 kB / 0.7588 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.5205, allocations: 31.97 kB / 0.7588 GB, free: 9.699 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0003221/0.5208, allocations: 265 kB / 0.7591 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.521, allocations: 75.06 kB / 0.7592 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.5237, allocations: 1.112 MB / 0.7603 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5237, allocations: 8 kB / 0.7603 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5237, allocations: 3.938 kB / 0.7603 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.5237, allocations: 3.984 kB / 0.7603 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.5272, allocations: 2.036 MB / 0.7623 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.5273, allocations: 4 kB / 0.7623 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.528, allocations: 167.8 kB / 0.7624 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.5284, allocations: 68.8 kB / 0.7625 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.5285, allocations: 27.64 kB / 0.7625 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.5302, allocations: 1.662 MB / 0.7641 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5303, allocations: 0 / 0.7641 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.5325, allocations: 1.023 MB / 0.7651 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.5329, allocations: 267.8 kB / 0.7654 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.533, allocations: 19.98 kB / 0.7654 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.5337, allocations: 67.94 kB / 0.7655 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.5338, allocations: 64.91 kB / 0.7655 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/0.5339, allocations: 27.98 kB / 0.7656 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000486/0.5344, allocations: 447 kB / 0.766 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5344, allocations: 0 / 0.766 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007977/0.5352, allocations: 299.1 kB / 0.7663 GB, free: 1.84 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 (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.003664/0.5389, allocations: 2.064 MB / 0.7683 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.5413, allocations: 1.028 MB / 0.7693 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5413, allocations: 0 / 0.7693 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5424, allocations: 0.5391 MB / 0.7698 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5435, allocations: 298.7 kB / 0.7701 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.5548, allocations: 6.562 MB / 0.7765 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.5555, allocations: 1.023 MB / 0.7775 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008622/0.5563, allocations: 270.3 kB / 0.7778 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.5569, allocations: 379.3 kB / 0.7781 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.5569, allocations: 3.938 kB / 0.7781 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8071/1.364, allocations: 20.55 MB / 0.7982 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.6, allocations: 18.66 kB / 0.7982 GB, free: 1.531 MB / 0.6075 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/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)