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.00121/0.00121, allocations: 104 kB / 15.6 MB, free: 148 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.001228/0.001228, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7006/0.7006, allocations: 132.2 MB / 422.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.83 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3195, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005041/0.3246, allocations: 4.19 MB / 0.5843 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1468/0.4715, allocations: 150.5 MB / 0.7312 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.4723, allocations: 19.88 kB / 0.7313 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.4729, allocations: 170.5 kB / 0.7314 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.4747, allocations: 479.9 kB / 0.7319 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.4766, allocations: 0.8049 MB / 0.7327 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.4778, allocations: 1.196 MB / 0.7338 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.4787, allocations: 0.7076 MB / 0.7345 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005275/0.4792, allocations: 462.3 kB / 0.735 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.4797, allocations: 489.8 kB / 0.7354 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.4799, allocations: 116 kB / 0.7355 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007353/0.4806, allocations: 459.7 kB / 0.736 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.4808, allocations: 295 kB / 0.7363 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.4812, allocations: 0.5363 MB / 0.7368 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.4826, allocations: 1.546 MB / 0.7383 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4826, allocations: 0 / 0.7383 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4826, allocations: 0 / 0.7383 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.4826, allocations: 0 / 0.7383 GB, free: 15.04 MB / 0.5762 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.001989/0.4846, allocations: 1.4 MB / 0.7397 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.4847, allocations: 12.03 kB / 0.7397 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.4848, allocations: 143.9 kB / 0.7398 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.4864, allocations: 299.3 kB / 0.7401 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008755/0.4873, allocations: 0.7226 MB / 0.7408 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.4874, allocations: 69.98 kB / 0.7409 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.4875, allocations: 92 kB / 0.741 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.4892, allocations: 1.011 MB / 0.7419 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4892, allocations: 3.938 kB / 0.742 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.4893, allocations: 36 kB / 0.742 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.4893, allocations: 24 kB / 0.742 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.4914, allocations: 1.221 MB / 0.7432 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.4951, allocations: 2.59 MB / 0.7457 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.4974, allocations: 0.9274 MB / 0.7466 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.4981, allocations: 338.4 kB / 0.747 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.4982, allocations: 32.69 kB / 0.747 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.4993, allocations: 487.1 kB / 0.7475 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.014e-06/0.4993, allocations: 0 / 0.7475 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003408/0.5027, allocations: 1.234 MB / 0.7487 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.5028, allocations: 192.6 kB / 0.7488 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.5034, allocations: 0.6056 MB / 0.7494 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.5035, allocations: 41.7 kB / 0.7495 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.5038, allocations: 408.2 kB / 0.7499 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.5039, allocations: 248.4 kB / 0.7501 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.5041, allocations: 138.2 kB / 0.7502 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5043, allocations: 386.7 kB / 0.7506 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/0.505, allocations: 265.2 kB / 0.7509 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.5057, allocations: 382.7 kB / 0.7512 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.5071, allocations: 0.6253 MB / 0.7518 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5071, allocations: 0 / 0.7518 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002127/0.5093, allocations: 0.8251 MB / 0.7526 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5093, allocations: 4 kB / 0.7526 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5093, allocations: 7.938 kB / 0.7526 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.5099, allocations: 80.86 kB / 0.7527 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.5106, allocations: 163.8 kB / 0.7529 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.5126, allocations: 1.624 MB / 0.7545 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.5133, allocations: 95.22 kB / 0.7546 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.5134, allocations: 36.03 kB / 0.7546 GB, free: 13.8 MB / 0.5919 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.0003394/0.5137, allocations: 257.6 kB / 0.7548 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5139, allocations: 79.06 kB / 0.7549 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.5166, allocations: 1.108 MB / 0.756 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.5166, allocations: 11.94 kB / 0.756 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5166, allocations: 0 / 0.756 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.5166, allocations: 3.984 kB / 0.756 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.52, allocations: 2.043 MB / 0.758 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5201, allocations: 0 / 0.758 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.5208, allocations: 167.8 kB / 0.7582 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.5212, allocations: 68.8 kB / 0.7582 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.5213, allocations: 23.98 kB / 0.7583 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.523, allocations: 1.662 MB / 0.7599 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.523, allocations: 8 kB / 0.7599 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5252, allocations: 1.019 MB / 0.7609 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.5255, allocations: 259.8 kB / 0.7611 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5256, allocations: 23.92 kB / 0.7612 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/0.5263, allocations: 71.94 kB / 0.7612 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.5264, allocations: 68.78 kB / 0.7613 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.5265, allocations: 35.98 kB / 0.7613 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004656/0.5269, allocations: 439 kB / 0.7617 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5269, allocations: 0 / 0.7617 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007103/0.5277, allocations: 299.2 kB / 0.762 GB, free: 5.922 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.0035/0.5312, allocations: 2.062 MB / 0.764 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.5336, allocations: 1.032 MB / 0.765 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5336, allocations: 0 / 0.765 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.5347, allocations: 0.5353 MB / 0.7656 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5357, allocations: 285.9 kB / 0.7658 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5468, allocations: 6.559 MB / 0.7722 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.5474, allocations: 1.023 MB / 0.7732 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008032/0.5482, allocations: 269.9 kB / 0.7735 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.5487, allocations: 379.3 kB / 0.7739 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.5487, allocations: 0 / 0.7739 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/0.5935, allocations: 20.56 MB / 0.7939 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.03, allocations: 17.72 kB / 0.794 GB, free: 5.656 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 & 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)