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.004273/0.004274, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001049/0.001049, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.691/0.691, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 80.21 MB / 0.6592 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004351/0.3289, allocations: 4.178 MB / 0.6633 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.4688, allocations: 150.5 MB / 0.8103 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.4695, allocations: 23.88 kB / 0.8103 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.47, allocations: 174.4 kB / 0.8105 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4714, allocations: 481.7 kB / 0.8109 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.4732, allocations: 0.8259 MB / 0.8117 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009728/0.4742, allocations: 1.199 MB / 0.8129 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007655/0.475, allocations: 0.6837 MB / 0.8136 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.4754, allocations: 470.3 kB / 0.814 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.4759, allocations: 485.8 kB / 0.8145 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.476, allocations: 112 kB / 0.8146 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.4767, allocations: 0.4957 MB / 0.8151 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.477, allocations: 283 kB / 0.8153 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.4773, allocations: 0.5324 MB / 0.8159 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.4788, allocations: 1.602 MB / 0.8174 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4788, allocations: 0 / 0.8174 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4788, allocations: 0 / 0.8174 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.4788, allocations: 4 kB / 0.8174 GB, free: 3.715 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001948/0.4808, allocations: 1.433 MB / 0.8188 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4808, allocations: 8.031 kB / 0.8188 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.481, allocations: 143.8 kB / 0.819 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.482, allocations: 208 kB / 0.8192 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.483, allocations: 0.7582 MB / 0.8199 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.4831, allocations: 66 kB / 0.82 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4832, allocations: 91.94 kB / 0.8201 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4846, allocations: 0.9497 MB / 0.821 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4847, allocations: 0 / 0.821 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.4848, allocations: 36 kB / 0.821 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.4848, allocations: 24 kB / 0.8211 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.4864, allocations: 1.124 MB / 0.8222 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.4899, allocations: 2.536 MB / 0.8246 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.4912, allocations: 0.8205 MB / 0.8254 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.4918, allocations: 282.8 kB / 0.8257 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.4924, allocations: 478.1 kB / 0.8262 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007213/0.4931, allocations: 439.2 kB / 0.8266 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.4931, allocations: 4 kB / 0.8266 GB, free: 10 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002764/0.4959, allocations: 1.102 MB / 0.8277 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.496, allocations: 188.6 kB / 0.8278 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.4966, allocations: 0.6018 MB / 0.8284 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.4966, allocations: 37.7 kB / 0.8285 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.4969, allocations: 408.9 kB / 0.8288 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.4971, allocations: 249.8 kB / 0.8291 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.4973, allocations: 142.2 kB / 0.8292 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4974, allocations: 386.7 kB / 0.8296 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.4979, allocations: 221.2 kB / 0.8298 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.4984, allocations: 326.8 kB / 0.8301 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.4994, allocations: 0.5433 MB / 0.8306 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4994, allocations: 0 / 0.8306 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001672/0.5011, allocations: 0.7357 MB / 0.8314 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5011, allocations: 8.094 kB / 0.8314 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5011, allocations: 3.938 kB / 0.8314 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.5017, allocations: 88.8 kB / 0.8315 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.5023, allocations: 139.8 kB / 0.8316 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.5041, allocations: 1.622 MB / 0.8332 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.5047, allocations: 79.55 kB / 0.8333 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.5047, allocations: 36.05 kB / 0.8333 GB, free: 2.836 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 (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.00033/0.5051, allocations: 254.3 kB / 0.8335 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.5052, allocations: 83.47 kB / 0.8336 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.5074, allocations: 0.9943 MB / 0.8346 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.5074, allocations: 12 kB / 0.8346 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5074, allocations: 7.938 kB / 0.8346 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5074, allocations: 4.078 kB / 0.8346 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.5104, allocations: 1.901 MB / 0.8365 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5104, allocations: 3.984 kB / 0.8365 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.511, allocations: 143.8 kB / 0.8366 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/0.5114, allocations: 76.72 kB / 0.8367 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.5115, allocations: 23.98 kB / 0.8367 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.5132, allocations: 1.658 MB / 0.8383 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5132, allocations: 0 / 0.8383 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.515, allocations: 0.9282 MB / 0.8392 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.5153, allocations: 268.2 kB / 0.8395 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.5154, allocations: 12 kB / 0.8395 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.516, allocations: 57.81 kB / 0.8395 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5161, allocations: 56.92 kB / 0.8396 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.5162, allocations: 35.97 kB / 0.8396 GB, free: 12.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004728/0.5167, allocations: 443 kB / 0.8401 GB, free: 11.64 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5167, allocations: 4 kB / 0.8401 GB, free: 11.64 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000753/0.5174, allocations: 307.1 kB / 0.8404 GB, free: 11.34 MB / 0.67 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.003249/0.5207, allocations: 1.998 MB / 0.8423 GB, free: 9.523 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.5222, allocations: 0.7394 MB / 0.843 GB, free: 8.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5222, allocations: 0 / 0.843 GB, free: 8.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.523, allocations: 0.4925 MB / 0.8435 GB, free: 8.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5242, allocations: 293.8 kB / 0.8438 GB, free: 8.012 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/0.5338, allocations: 6.063 MB / 0.8497 GB, free: 1.848 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.5343, allocations: 1.02 MB / 0.8507 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006991/0.535, allocations: 258.2 kB / 0.8509 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.5355, allocations: 375.3 kB / 0.8513 GB, free: 184 kB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.5355, allocations: 0 / 0.8513 GB, free: 184 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2994/0.8349, allocations: 20.48 MB / 0.8713 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.74, allocations: 9.75 kB / 0.8713 GB, free: 192.8 MB / 0.6856 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)