Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001191/0.001191, allocations: 108 kB / 15.61 MB, free: 152 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.001188/0.001188, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7095/0.7095, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.44 kB / 0.5019 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3157, allocations: 80.21 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004726/0.3205, allocations: 4.178 MB / 0.5843 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.14/0.4605, allocations: 150.5 MB / 0.7313 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.4614, allocations: 23.88 kB / 0.7313 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.462, allocations: 170.5 kB / 0.7315 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.4636, allocations: 473.6 kB / 0.7319 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.4656, allocations: 0.8233 MB / 0.7327 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.4667, allocations: 1.188 MB / 0.7339 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.4675, allocations: 0.6905 MB / 0.7346 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.4681, allocations: 462.3 kB / 0.735 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.4686, allocations: 481.8 kB / 0.7355 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.4688, allocations: 116 kB / 0.7356 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.4695, allocations: 475.6 kB / 0.736 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.4698, allocations: 291 kB / 0.7363 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004437/0.4702, allocations: 0.5284 MB / 0.7368 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.4717, allocations: 1.55 MB / 0.7383 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.4717, allocations: 0 / 0.7383 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4718, allocations: 0 / 0.7383 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.4718, allocations: 0 / 0.7383 GB, free: 14.97 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002075/0.4739, allocations: 1.4 MB / 0.7397 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.4739, allocations: 8.031 kB / 0.7397 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.4741, allocations: 143.8 kB / 0.7398 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4751, allocations: 207.4 kB / 0.74 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.4761, allocations: 0.7226 MB / 0.7407 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.4761, allocations: 66 kB / 0.7408 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.4762, allocations: 87.94 kB / 0.7409 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.4777, allocations: 0.9613 MB / 0.7418 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4777, allocations: 0 / 0.7418 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.4778, allocations: 36 kB / 0.7419 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.4778, allocations: 24 kB / 0.7419 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4795, allocations: 1.128 MB / 0.743 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.4831, allocations: 2.562 MB / 0.7455 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.4845, allocations: 0.8204 MB / 0.7463 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.485, allocations: 290.7 kB / 0.7466 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006035/0.4856, allocations: 470.2 kB / 0.747 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007871/0.4864, allocations: 443.1 kB / 0.7474 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.873e-06/0.4864, allocations: 0 / 0.7474 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002845/0.4893, allocations: 1.1 MB / 0.7485 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.4894, allocations: 188.6 kB / 0.7487 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.49, allocations: 0.598 MB / 0.7493 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.4901, allocations: 41.7 kB / 0.7493 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.4904, allocations: 404.1 kB / 0.7497 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.4905, allocations: 240.5 kB / 0.7499 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.4907, allocations: 134.1 kB / 0.7501 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4909, allocations: 390.7 kB / 0.7504 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.4913, allocations: 221.2 kB / 0.7506 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.4919, allocations: 330.8 kB / 0.751 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4929, allocations: 0.5394 MB / 0.7515 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.493, allocations: 0 / 0.7515 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001746/0.4947, allocations: 0.7353 MB / 0.7522 GB, free: 248 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4947, allocations: 10.5 kB / 0.7522 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4947, allocations: 0 / 0.7522 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.4953, allocations: 88.8 kB / 0.7523 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.4959, allocations: 139.8 kB / 0.7524 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.4979, allocations: 1.623 MB / 0.754 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.4984, allocations: 83.36 kB / 0.7541 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.4985, allocations: 23.98 kB / 0.7541 GB, free: 14.13 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 (76): * Single equations (assignments): 75 * 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.0003052/0.4988, allocations: 259.2 kB / 0.7544 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.4989, allocations: 75.06 kB / 0.7544 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.5011, allocations: 0.9982 MB / 0.7554 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5012, allocations: 12 kB / 0.7554 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5012, allocations: 3.938 kB / 0.7554 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.5012, allocations: 4.078 kB / 0.7554 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.5041, allocations: 1.904 MB / 0.7573 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5041, allocations: 0 / 0.7573 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.5047, allocations: 147.8 kB / 0.7574 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.5052, allocations: 72.73 kB / 0.7575 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.5052, allocations: 27.97 kB / 0.7575 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.5069, allocations: 1.658 MB / 0.7592 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5069, allocations: 0 / 0.7592 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.5088, allocations: 0.9258 MB / 0.7601 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.509, allocations: 255.8 kB / 0.7603 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5092, allocations: 16 kB / 0.7603 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.5097, allocations: 65.42 kB / 0.7604 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5099, allocations: 52.92 kB / 0.7604 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.5099, allocations: 36.05 kB / 0.7605 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004746/0.5104, allocations: 443 kB / 0.7609 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5104, allocations: 0 / 0.7609 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006954/0.5111, allocations: 307.1 kB / 0.7612 GB, free: 6.648 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 (84): * Single equations (assignments): 81 * 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.003144/0.5143, allocations: 1.982 MB / 0.7631 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.5162, allocations: 0.9228 MB / 0.764 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5162, allocations: 4 kB / 0.764 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.5171, allocations: 0.4887 MB / 0.7645 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5182, allocations: 281.2 kB / 0.7648 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009794/0.528, allocations: 6.248 MB / 0.7709 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.5286, allocations: 1.023 MB / 0.7719 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007448/0.5293, allocations: 254.3 kB / 0.7721 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.5298, allocations: 375.3 kB / 0.7725 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5298, allocations: 0 / 0.7725 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.5724, allocations: 20.24 MB / 0.7922 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.93, allocations: 24.33 kB / 0.7923 GB, free: 7.266 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)