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.000752/0.0007521, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004275/0.004275, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7008/0.7008, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 12 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3252, allocations: 81.57 MB / 0.5838 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003545/0.3288, allocations: 3.795 MB / 0.5875 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1332/0.462, allocations: 146.6 MB / 0.7306 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.4623, allocations: 15.94 kB / 0.7306 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.4627, allocations: 134.9 kB / 0.7307 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008545/0.4636, allocations: 393.2 kB / 0.7311 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.4647, allocations: 0.7062 MB / 0.7318 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000846/0.4656, allocations: 1.113 MB / 0.7329 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.4663, allocations: 0.6831 MB / 0.7336 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.4667, allocations: 310.4 kB / 0.7339 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.467, allocations: 348 kB / 0.7342 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.4671, allocations: 24 kB / 0.7342 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.4675, allocations: 363.6 kB / 0.7346 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.4677, allocations: 179.1 kB / 0.7347 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.468, allocations: 442.9 kB / 0.7352 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4691, allocations: 1.444 MB / 0.7366 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4691, allocations: 0 / 0.7366 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4691, allocations: 0 / 0.7366 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.4691, allocations: 0 / 0.7366 GB, free: 3.363 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.001612/0.4707, allocations: 1.186 MB / 0.7377 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.4708, allocations: 12.03 kB / 0.7377 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.4709, allocations: 147.9 kB / 0.7379 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4724, allocations: 299.3 kB / 0.7382 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.4732, allocations: 0.7343 MB / 0.7389 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.4733, allocations: 73.94 kB / 0.7389 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4734, allocations: 88 kB / 0.739 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.475, allocations: 1.003 MB / 0.74 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.475, allocations: 3.938 kB / 0.74 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.4751, allocations: 43.98 kB / 0.7401 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4752, allocations: 27.98 kB / 0.7401 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.4772, allocations: 1.229 MB / 0.7413 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.4808, allocations: 2.606 MB / 0.7438 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.483, allocations: 0.9352 MB / 0.7447 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/0.4836, allocations: 334.7 kB / 0.7451 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.4837, allocations: 36.59 kB / 0.7451 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009053/0.4846, allocations: 0.4951 MB / 0.7456 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 1.733e-06/0.4846, allocations: 4 kB / 0.7456 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003162/0.4878, allocations: 1.242 MB / 0.7468 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.4879, allocations: 188.6 kB / 0.747 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/0.4885, allocations: 0.6017 MB / 0.7476 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.4886, allocations: 41.69 kB / 0.7476 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.4888, allocations: 420.2 kB / 0.748 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.489, allocations: 240.4 kB / 0.7482 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.4891, allocations: 57.69 kB / 0.7483 GB, free: 7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4892, allocations: 378.8 kB / 0.7487 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.4898, allocations: 273.2 kB / 0.7489 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.4906, allocations: 378.7 kB / 0.7493 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.4919, allocations: 0.6331 MB / 0.7499 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4919, allocations: 0 / 0.7499 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001968/0.4939, allocations: 0.8367 MB / 0.7507 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4939, allocations: 4.094 kB / 0.7507 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4939, allocations: 11.94 kB / 0.7507 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.4944, allocations: 84.77 kB / 0.7508 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.4951, allocations: 159.8 kB / 0.751 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.4968, allocations: 1.524 MB / 0.7524 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.4975, allocations: 107.3 kB / 0.7525 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.4975, allocations: 31.98 kB / 0.7526 GB, free: 2.414 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.0002997/0.4978, allocations: 253.6 kB / 0.7528 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4979, allocations: 83.05 kB / 0.7529 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.5004, allocations: 1.116 MB / 0.754 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5005, allocations: 8 kB / 0.754 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.5005, allocations: 3.938 kB / 0.754 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5005, allocations: 11.92 kB / 0.754 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.5037, allocations: 2.051 MB / 0.756 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5037, allocations: 0 / 0.756 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/0.5044, allocations: 167.8 kB / 0.7562 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.5049, allocations: 84.77 kB / 0.7563 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.505, allocations: 23.98 kB / 0.7563 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.5065, allocations: 1.548 MB / 0.7578 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5065, allocations: 3.984 kB / 0.7578 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.5086, allocations: 1.023 MB / 0.7588 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.5089, allocations: 291.6 kB / 0.7591 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.509, allocations: 19.94 kB / 0.7591 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.5097, allocations: 83.92 kB / 0.7592 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5098, allocations: 60.92 kB / 0.7592 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.5099, allocations: 31.97 kB / 0.7593 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004372/0.5103, allocations: 443 kB / 0.7597 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5103, allocations: 0 / 0.7597 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006414/0.511, allocations: 299.1 kB / 0.76 GB, free: 10.59 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.003321/0.5143, allocations: 2.075 MB / 0.762 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.516, allocations: 0.8372 MB / 0.7628 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.516, allocations: 3.984 kB / 0.7628 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.517, allocations: 0.5431 MB / 0.7633 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5181, allocations: 259.4 kB / 0.7636 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.5295, allocations: 7.055 MB / 0.7705 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.5299, allocations: 1.023 MB / 0.7715 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007417/0.5307, allocations: 262.3 kB / 0.7717 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.5312, allocations: 387.2 kB / 0.7721 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.5312, allocations: 3.938 kB / 0.7721 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7951/1.326, allocations: 19.57 MB / 0.7912 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/1.327, allocations: 302.4 kB / 0.7915 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.686, allocations: 0 / 0.7915 GB, free: 10.66 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)