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.007163/0.007163, allocations: 98.97 kB / 15.73 MB, free: 6.496 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.002098/0.002098, allocations: 191.9 kB / 16.67 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8217/0.8217, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 64.17 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1384, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006042/0.1445, allocations: 4.188 MB / 0.6633 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.3148, allocations: 150.5 MB / 0.8102 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.3154, allocations: 19.88 kB / 0.8103 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.316, allocations: 170.5 kB / 0.8104 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.3174, allocations: 471.6 kB / 0.8109 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.3192, allocations: 0.8139 MB / 0.8117 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.3205, allocations: 1.207 MB / 0.8129 GB, free: 24 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3112/0.6317, allocations: 0.6933 MB / 0.8135 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.6325, allocations: 463.8 kB / 0.814 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.6331, allocations: 493.4 kB / 0.8144 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.6333, allocations: 114.1 kB / 0.8146 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.6342, allocations: 480.9 kB / 0.815 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.6345, allocations: 294.1 kB / 0.8153 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.635, allocations: 0.5364 MB / 0.8158 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.6369, allocations: 1.591 MB / 0.8174 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6369, allocations: 1.125 kB / 0.8174 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6369, allocations: 1.703 kB / 0.8174 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.6369, allocations: 0.5 kB / 0.8174 GB, free: 2.879 MB / 0.6387 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.00241/0.6393, allocations: 1.436 MB / 0.8188 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6394, allocations: 10.3 kB / 0.8188 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.6396, allocations: 143.6 kB / 0.8189 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.6415, allocations: 304.9 kB / 0.8192 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.6427, allocations: 0.7527 MB / 0.8199 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.6428, allocations: 75.95 kB / 0.82 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.643, allocations: 85.61 kB / 0.8201 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.6449, allocations: 1.011 MB / 0.8211 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.6449, allocations: 0.8438 kB / 0.8211 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.645, allocations: 36.31 kB / 0.8211 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.645, allocations: 23.25 kB / 0.8211 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.6474, allocations: 1.219 MB / 0.8223 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.6516, allocations: 2.554 MB / 0.8248 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.654, allocations: 0.9323 MB / 0.8257 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007316/0.6548, allocations: 332.1 kB / 0.8261 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-05/0.6549, allocations: 41.31 kB / 0.8261 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000984/0.6559, allocations: 494 kB / 0.8266 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=75): time 2.855e-06/0.6559, allocations: 1.844 kB / 0.8266 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75): time 0.00361/0.6595, allocations: 1.235 MB / 0.8278 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.6596, allocations: 189.6 kB / 0.828 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.6603, allocations: 0.5945 MB / 0.8285 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.6604, allocations: 42.86 kB / 0.8286 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.6606, allocations: 413.9 kB / 0.829 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.6608, allocations: 262.5 kB / 0.8292 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.661, allocations: 138.1 kB / 0.8294 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6612, allocations: 388.1 kB / 0.8297 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/0.6619, allocations: 268.3 kB / 0.83 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.6626, allocations: 373.8 kB / 0.8303 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.664, allocations: 0.6305 MB / 0.831 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6641, allocations: 0 / 0.831 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002196/0.6663, allocations: 0.8256 MB / 0.8318 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6663, allocations: 7.094 kB / 0.8318 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6663, allocations: 2.094 kB / 0.8318 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.6669, allocations: 80.42 kB / 0.8318 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.6676, allocations: 163.2 kB / 0.832 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.6697, allocations: 1.635 MB / 0.8336 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.6705, allocations: 101.7 kB / 0.8337 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.6706, allocations: 33.36 kB / 0.8337 GB, free: 13.7 MB / 0.6544 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.0003575/0.6709, allocations: 261.2 kB / 0.834 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6711, allocations: 82.56 kB / 0.8341 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.6737, allocations: 1.1 MB / 0.8351 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.6737, allocations: 11.69 kB / 0.8351 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.6738, allocations: 0 / 0.8351 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.6738, allocations: 10.53 kB / 0.8352 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.6773, allocations: 2.039 MB / 0.8371 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6773, allocations: 4.344 kB / 0.8371 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.678, allocations: 168.1 kB / 0.8373 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.6785, allocations: 70.88 kB / 0.8374 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.6785, allocations: 27.86 kB / 0.8374 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.6805, allocations: 1.649 MB / 0.839 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6805, allocations: 3.281 kB / 0.839 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.6828, allocations: 1.028 MB / 0.84 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.6832, allocations: 262.8 kB / 0.8403 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6833, allocations: 28 kB / 0.8403 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/0.684, allocations: 69.22 kB / 0.8404 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6842, allocations: 64.47 kB / 0.8404 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.6842, allocations: 30.52 kB / 0.8405 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005076/0.6848, allocations: 443.1 kB / 0.8409 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6848, allocations: 0 / 0.8409 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008728/0.6856, allocations: 310.2 kB / 0.8412 GB, free: 11.14 MB / 0.6544 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.004325/0.69, allocations: 2.079 MB / 0.8432 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.6919, allocations: 0.8369 MB / 0.844 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6919, allocations: 3.781 kB / 0.844 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.693, allocations: 0.5391 MB / 0.8445 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6942, allocations: 286.6 kB / 0.8448 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.7053, allocations: 6.387 MB / 0.8511 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.7059, allocations: 1.021 MB / 0.8521 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008492/0.7068, allocations: 263 kB / 0.8523 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.7073, allocations: 385.1 kB / 0.8527 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.7073, allocations: 1.203 kB / 0.8527 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/0.7587, allocations: 20.81 MB / 0.873 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.5, allocations: 14.14 kB / 0.873 GB, free: 2.133 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)