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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6609/0.6609, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 62.39 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1176, allocations: 80.21 MB / 0.5795 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004809/0.1224, allocations: 4.189 MB / 0.5836 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.308/0.4304, allocations: 148.2 MB / 0.7283 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.431, allocations: 19.19 kB / 0.7283 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.4315, allocations: 131.3 kB / 0.7285 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.4328, allocations: 405.9 kB / 0.7288 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.4343, allocations: 0.7001 MB / 0.7295 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.4353, allocations: 1.13 MB / 0.7306 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.4361, allocations: 0.6874 MB / 0.7313 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.4365, allocations: 403.7 kB / 0.7317 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.4369, allocations: 464.2 kB / 0.7321 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.437, allocations: 62.44 kB / 0.7322 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.4377, allocations: 401.6 kB / 0.7326 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.4379, allocations: 245.5 kB / 0.7328 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.4383, allocations: 494.9 kB / 0.7333 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.4393, allocations: 1.496 MB / 0.7347 GB, free: 80 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4394, allocations: 0 / 0.7347 GB, free: 80 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4394, allocations: 0 / 0.7347 GB, free: 80 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.4394, allocations: 0 / 0.7347 GB, free: 80 kB / 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.001918/0.4413, allocations: 1.41 MB / 0.7361 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.4413, allocations: 9.062 kB / 0.7361 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.4415, allocations: 144.4 kB / 0.7363 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.4429, allocations: 297.1 kB / 0.7365 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007773/0.4437, allocations: 0.7316 MB / 0.7373 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.4438, allocations: 66.56 kB / 0.7373 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.4439, allocations: 85.59 kB / 0.7374 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.4454, allocations: 1.006 MB / 0.7384 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4454, allocations: 3.938 kB / 0.7384 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.4455, allocations: 41 kB / 0.7384 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4455, allocations: 21.5 kB / 0.7384 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.4475, allocations: 1.216 MB / 0.7396 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.4508, allocations: 2.576 MB / 0.7421 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.4529, allocations: 0.9396 MB / 0.7431 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.4535, allocations: 331.7 kB / 0.7434 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.4536, allocations: 33.38 kB / 0.7434 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008698/0.4545, allocations: 498.6 kB / 0.7439 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 1.743e-06/0.4545, allocations: 0 / 0.7439 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.002989/0.4575, allocations: 1.236 MB / 0.7451 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.4576, allocations: 188.6 kB / 0.7453 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.4581, allocations: 0.5979 MB / 0.7459 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.4582, allocations: 41.7 kB / 0.7459 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.4584, allocations: 412.1 kB / 0.7463 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.4586, allocations: 248.4 kB / 0.7465 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.4588, allocations: 134.2 kB / 0.7467 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4589, allocations: 390.7 kB / 0.747 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.4595, allocations: 261.1 kB / 0.7473 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.4602, allocations: 382.7 kB / 0.7476 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.4615, allocations: 0.6292 MB / 0.7483 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4615, allocations: 0 / 0.7483 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001937/0.4635, allocations: 0.8212 MB / 0.7491 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4635, allocations: 4 kB / 0.7491 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4635, allocations: 8.094 kB / 0.7491 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.464, allocations: 76.72 kB / 0.7491 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.4647, allocations: 163.8 kB / 0.7493 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.4663, allocations: 1.513 MB / 0.7508 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.4669, allocations: 100.1 kB / 0.7509 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.467, allocations: 27.98 kB / 0.7509 GB, free: 3.113 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 (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.0002927/0.4673, allocations: 257.9 kB / 0.7511 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4674, allocations: 86.98 kB / 0.7512 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.4699, allocations: 1.102 MB / 0.7523 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4699, allocations: 8 kB / 0.7523 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.4699, allocations: 0 / 0.7523 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4699, allocations: 3.984 kB / 0.7523 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.4731, allocations: 2.038 MB / 0.7543 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4731, allocations: 0 / 0.7543 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.4737, allocations: 171.7 kB / 0.7545 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.4742, allocations: 84.77 kB / 0.7546 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/0.4743, allocations: 30.48 kB / 0.7546 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.4758, allocations: 1.54 MB / 0.7561 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4758, allocations: 8.016 kB / 0.7561 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.4778, allocations: 1.016 MB / 0.7571 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.4781, allocations: 267.7 kB / 0.7573 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4782, allocations: 16 kB / 0.7574 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.4788, allocations: 78.2 kB / 0.7574 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.479, allocations: 64.91 kB / 0.7575 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.479, allocations: 27.98 kB / 0.7575 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004218/0.4795, allocations: 447 kB / 0.7579 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4795, allocations: 0 / 0.7579 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006373/0.4801, allocations: 303.2 kB / 0.7582 GB, free: 11.36 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.003247/0.4834, allocations: 2.067 MB / 0.7603 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.485, allocations: 0.8331 MB / 0.7611 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.485, allocations: 0 / 0.7611 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009589/0.486, allocations: 0.5392 MB / 0.7616 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.4869, allocations: 263.3 kB / 0.7618 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.498, allocations: 6.964 MB / 0.7686 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.4985, allocations: 1.024 MB / 0.7696 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007548/0.4992, allocations: 266.3 kB / 0.7699 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.4997, allocations: 383.3 kB / 0.7703 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.4997, allocations: 0 / 0.7703 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.68/3.18, allocations: 19.87 MB / 0.7897 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003638/3.18, allocations: 304.2 kB / 0.79 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/5.743, allocations: 0 / 0.79 GB, free: 11.26 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/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)