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.00183/0.00183, 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.002224/0.002224, allocations: 196.8 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.612/2.612, 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 1.896/1.896, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002299, allocations: 63.66 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2523, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01477/0.2671, allocations: 4.174 MB / 0.5885 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6594/0.9266, allocations: 150.5 MB / 0.7355 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00099/0.9276, allocations: 24.16 kB / 0.7355 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009963/0.9287, allocations: 169.8 kB / 0.7357 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.9315, allocations: 479.4 kB / 0.7362 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.9353, allocations: 0.804 MB / 0.7369 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.9377, allocations: 1.196 MB / 0.7381 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.9395, allocations: 0.6969 MB / 0.7388 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.9406, allocations: 465.8 kB / 0.7392 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.9417, allocations: 493.3 kB / 0.7397 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.9422, allocations: 115.1 kB / 0.7398 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.944, allocations: 460 kB / 0.7403 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.9446, allocations: 297.7 kB / 0.7405 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.9458, allocations: 0.5391 MB / 0.7411 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.9495, allocations: 1.541 MB / 0.7426 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.9496, allocations: 0 / 0.7426 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9496, allocations: 5.656 kB / 0.7426 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.379e-05/0.9497, allocations: 0 / 0.7426 GB, free: 8.164 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.004873/0.9546, allocations: 1.396 MB / 0.7439 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.9546, allocations: 9.625 kB / 0.7439 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003154/0.955, allocations: 143.5 kB / 0.7441 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.9583, allocations: 304.3 kB / 0.7444 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.9603, allocations: 0.728 MB / 0.7451 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.9605, allocations: 77.92 kB / 0.7452 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.9607, allocations: 85.97 kB / 0.7452 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.9642, allocations: 1.003 MB / 0.7462 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.9642, allocations: 4 kB / 0.7462 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.9644, allocations: 38.72 kB / 0.7463 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.9644, allocations: 25.86 kB / 0.7463 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/0.9688, allocations: 1.22 MB / 0.7475 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008075/0.9769, allocations: 2.573 MB / 0.75 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/0.9817, allocations: 0.9366 MB / 0.7509 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.9833, allocations: 333.4 kB / 0.7512 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.9834, allocations: 32.69 kB / 0.7513 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/0.9855, allocations: 491.2 kB / 0.7517 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 5.54e-06/0.9855, allocations: 0 / 0.7517 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.006927/0.9924, allocations: 1.237 MB / 0.7529 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.9926, allocations: 188.6 kB / 0.7531 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.9941, allocations: 0.5979 MB / 0.7537 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.9943, allocations: 37.7 kB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/0.9948, allocations: 408.2 kB / 0.7541 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/0.9952, allocations: 256.3 kB / 0.7544 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.9956, allocations: 134.2 kB / 0.7545 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.9959, allocations: 386.7 kB / 0.7549 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.9972, allocations: 269.1 kB / 0.7551 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.9988, allocations: 375.7 kB / 0.7555 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/1.002, allocations: 0.6214 MB / 0.7561 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.002, allocations: 0 / 0.7561 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.004366/1.006, allocations: 0.8251 MB / 0.7569 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/1.006, allocations: 8 kB / 0.7569 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.006, allocations: 3.984 kB / 0.7569 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/1.007, allocations: 88.75 kB / 0.757 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.009, allocations: 159.8 kB / 0.7571 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/1.012, allocations: 1.634 MB / 0.7587 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/1.018, allocations: 99.27 kB / 0.7588 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/1.018, allocations: 27.97 kB / 0.7589 GB, free: 9.605 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.0008448/1.019, allocations: 265.5 kB / 0.7591 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.02, allocations: 75.06 kB / 0.7592 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005793/1.025, allocations: 1.102 MB / 0.7603 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.025, allocations: 12 kB / 0.7603 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.025, allocations: 3.938 kB / 0.7603 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/1.025, allocations: 7.984 kB / 0.7603 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/1.033, allocations: 2.036 MB / 0.7623 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.033, allocations: 0 / 0.7623 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005628/1.039, allocations: 171.8 kB / 0.7624 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008518/1.039, allocations: 72.78 kB / 0.7625 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.04, allocations: 23.98 kB / 0.7625 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/1.043, allocations: 1.662 MB / 0.7641 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.043, allocations: 0 / 0.7641 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/1.048, allocations: 1.023 MB / 0.7651 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007118/1.049, allocations: 255.8 kB / 0.7654 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/1.049, allocations: 24 kB / 0.7654 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.05, allocations: 67.92 kB / 0.7655 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/1.051, allocations: 60.92 kB / 0.7655 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.051, allocations: 43.72 kB / 0.7656 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001066/1.052, allocations: 443 kB / 0.766 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/1.052, allocations: 0 / 0.766 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005583/1.057, allocations: 299.1 kB / 0.7663 GB, free: 1.746 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.007459/1.065, allocations: 2.07 MB / 0.7683 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005219/1.07, allocations: 1.024 MB / 0.7693 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.07, allocations: 0 / 0.7693 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/1.073, allocations: 0.5392 MB / 0.7698 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006593/1.079, allocations: 287.5 kB / 0.7701 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/1.106, allocations: 6.566 MB / 0.7765 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009973/1.107, allocations: 1.019 MB / 0.7775 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002/1.109, allocations: 274.2 kB / 0.7778 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009173/1.11, allocations: 379.3 kB / 0.7781 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/1.11, allocations: 0 / 0.7781 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2268/1.337, allocations: 20.56 MB / 0.7982 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.14/27.47, allocations: 15.56 kB / 0.7982 GB, free: 1.434 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)