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.001349/0.001349, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001137/0.001137, allocations: 189.5 kB / 16.25 MB, free: 6.641 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6542/0.6542, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 68.55 kB / 0.5014 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2817, allocations: 80.19 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004581/0.2864, allocations: 4.206 MB / 0.5838 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1271/0.4135, allocations: 148.3 MB / 0.7286 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007335/0.4143, allocations: 19.88 kB / 0.7286 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.4148, allocations: 127 kB / 0.7287 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.4163, allocations: 436.4 kB / 0.7291 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.418, allocations: 0.7114 MB / 0.7298 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.4191, allocations: 1.207 MB / 0.731 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007548/0.4199, allocations: 0.7037 MB / 0.7317 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.4203, allocations: 462.3 kB / 0.7321 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.4207, allocations: 493.8 kB / 0.7326 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.4209, allocations: 116 kB / 0.7327 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.4215, allocations: 451.7 kB / 0.7331 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.4217, allocations: 303 kB / 0.7334 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.422, allocations: 0.5323 MB / 0.734 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.4232, allocations: 1.558 MB / 0.7355 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4232, allocations: 0 / 0.7355 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4232, allocations: 0 / 0.7355 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.4232, allocations: 0 / 0.7355 GB, free: 1.594 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.00181/0.4251, allocations: 1.396 MB / 0.7368 GB, free: 144 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.4251, allocations: 8.031 kB / 0.7368 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.4252, allocations: 148 kB / 0.737 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.4267, allocations: 295.3 kB / 0.7373 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.4275, allocations: 0.7342 MB / 0.738 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.4275, allocations: 66 kB / 0.738 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.4276, allocations: 92 kB / 0.7381 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4292, allocations: 1.003 MB / 0.7391 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4292, allocations: 3.938 kB / 0.7391 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.4293, allocations: 40 kB / 0.7392 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.4293, allocations: 20 kB / 0.7392 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.4312, allocations: 1.229 MB / 0.7404 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.4346, allocations: 2.575 MB / 0.7429 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.4367, allocations: 0.9352 MB / 0.7438 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/0.4373, allocations: 338.2 kB / 0.7441 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.4374, allocations: 36.67 kB / 0.7442 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/0.4383, allocations: 487.2 kB / 0.7446 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 1.763e-06/0.4383, allocations: 4 kB / 0.7446 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003031/0.4413, allocations: 1.234 MB / 0.7458 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.4414, allocations: 188.6 kB / 0.746 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.442, allocations: 0.6095 MB / 0.7466 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.442, allocations: 37.7 kB / 0.7466 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.4423, allocations: 412.1 kB / 0.747 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4424, allocations: 248.4 kB / 0.7473 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.4426, allocations: 134.2 kB / 0.7474 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4427, allocations: 386.7 kB / 0.7478 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.4433, allocations: 269.1 kB / 0.748 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.444, allocations: 374.7 kB / 0.7484 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.4452, allocations: 0.6252 MB / 0.749 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4452, allocations: 8 kB / 0.749 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001851/0.4471, allocations: 0.8212 MB / 0.7498 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4471, allocations: 8 kB / 0.7498 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4471, allocations: 3.938 kB / 0.7498 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.4477, allocations: 84.81 kB / 0.7499 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.4483, allocations: 163.8 kB / 0.7501 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.45, allocations: 1.615 MB / 0.7516 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.4506, allocations: 107.3 kB / 0.7517 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.4507, allocations: 23.98 kB / 0.7518 GB, free: 364 kB / 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.0002829/0.4509, allocations: 265.9 kB / 0.752 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4511, allocations: 75.06 kB / 0.7521 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.4535, allocations: 1.104 MB / 0.7532 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.4535, allocations: 11.94 kB / 0.7532 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.4535, allocations: 0 / 0.7532 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4535, allocations: 3.984 kB / 0.7532 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.4566, allocations: 2.039 MB / 0.7552 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4566, allocations: 4 kB / 0.7552 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.4572, allocations: 167.8 kB / 0.7553 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.4576, allocations: 72.78 kB / 0.7554 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.4577, allocations: 27.97 kB / 0.7554 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.4592, allocations: 1.67 MB / 0.7571 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4592, allocations: 0 / 0.7571 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.4611, allocations: 1.02 MB / 0.7581 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.4614, allocations: 259.8 kB / 0.7583 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4615, allocations: 27.88 kB / 0.7583 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/0.4621, allocations: 73.8 kB / 0.7584 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4623, allocations: 68.78 kB / 0.7585 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.4623, allocations: 31.98 kB / 0.7585 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000403/0.4627, allocations: 439 kB / 0.7589 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4627, allocations: 0 / 0.7589 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006059/0.4633, allocations: 303.2 kB / 0.7592 GB, free: 8.469 MB / 0.5919 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.003177/0.4665, allocations: 2.055 MB / 0.7612 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.4687, allocations: 1.032 MB / 0.7622 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4687, allocations: 0 / 0.7622 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.4696, allocations: 0.5431 MB / 0.7627 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.4706, allocations: 293.3 kB / 0.763 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4813, allocations: 6.959 MB / 0.7698 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4817, allocations: 1.023 MB / 0.7708 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007274/0.4824, allocations: 262.3 kB / 0.7711 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.4829, allocations: 383.3 kB / 0.7714 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.4829, allocations: 0 / 0.7714 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8458/1.329, allocations: 20.41 MB / 0.7914 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.329, allocations: 302.6 kB / 0.7917 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.74, allocations: 0 / 0.7917 GB, free: 7.609 MB / 0.6231 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/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)