Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_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.00177/0.00177, 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.002227/0.002227, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.603/2.603, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.662/1.662, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 58.94 kB / 0.5055 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2658, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.01064/0.2765, allocations: 4.173 MB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.657/0.9336, allocations: 150.5 MB / 0.7356 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009959/0.9346, allocations: 15.16 kB / 0.7356 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.9356, allocations: 171.9 kB / 0.7357 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.9384, allocations: 474.5 kB / 0.7362 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008002/0.9464, allocations: 0.8134 MB / 0.737 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002539/0.949, allocations: 1.2 MB / 0.7382 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.9509, allocations: 0.6772 MB / 0.7388 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.952, allocations: 461.7 kB / 0.7393 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.9531, allocations: 486.1 kB / 0.7397 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003746/0.9535, allocations: 112.2 kB / 0.7398 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.9552, allocations: 473.5 kB / 0.7403 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.9557, allocations: 294.7 kB / 0.7406 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.9567, allocations: 0.5242 MB / 0.7411 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.9599, allocations: 1.556 MB / 0.7426 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9599, allocations: 3.938 kB / 0.7426 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9599, allocations: 0 / 0.7426 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.955e-05/0.96, allocations: 1.375 kB / 0.7426 GB, free: 8.051 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.008759/0.9688, allocations: 1.391 MB / 0.744 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.9689, allocations: 12.62 kB / 0.744 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/0.9692, allocations: 142.8 kB / 0.7441 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.9715, allocations: 205.7 kB / 0.7443 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.9736, allocations: 0.7271 MB / 0.745 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.9737, allocations: 67.31 kB / 0.7451 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.9741, allocations: 84.97 kB / 0.7452 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.9777, allocations: 0.955 MB / 0.7461 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.9778, allocations: 7.375 kB / 0.7461 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.978, allocations: 38.66 kB / 0.7461 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.9781, allocations: 21.06 kB / 0.7462 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007991/0.9861, allocations: 1.124 MB / 0.7473 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008106/0.9943, allocations: 2.569 MB / 0.7498 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.9971, allocations: 0.8192 MB / 0.7506 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.9983, allocations: 282.7 kB / 0.7508 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.9995, allocations: 478.2 kB / 0.7513 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/1.001, allocations: 431.3 kB / 0.7517 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 4.849e-06/1.001, allocations: 0 / 0.7517 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.009366/1.01, allocations: 1.1 MB / 0.7528 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.011, allocations: 188.6 kB / 0.753 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.012, allocations: 0.6057 MB / 0.7535 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/1.012, allocations: 37.7 kB / 0.7536 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/1.013, allocations: 404.1 kB / 0.754 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/1.013, allocations: 240.5 kB / 0.7542 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/1.013, allocations: 134.2 kB / 0.7543 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.013, allocations: 386.7 kB / 0.7547 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/1.014, allocations: 225.2 kB / 0.7549 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/1.015, allocations: 322.7 kB / 0.7552 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/1.017, allocations: 0.5472 MB / 0.7558 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.017, allocations: 0 / 0.7558 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003658/1.021, allocations: 0.7353 MB / 0.7565 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.021, allocations: 7.938 kB / 0.7565 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.021, allocations: 4 kB / 0.7565 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.022, allocations: 88.8 kB / 0.7566 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.024, allocations: 131.9 kB / 0.7567 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/1.028, allocations: 1.634 MB / 0.7583 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.029, allocations: 85.61 kB / 0.7584 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.029, allocations: 27.98 kB / 0.7584 GB, free: 9.906 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 (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.0008133/1.03, allocations: 263.9 kB / 0.7586 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/1.03, allocations: 75.06 kB / 0.7587 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/1.035, allocations: 0.9943 MB / 0.7597 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.035, allocations: 12 kB / 0.7597 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.035, allocations: 0 / 0.7597 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/1.035, allocations: 7.922 kB / 0.7597 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.051, allocations: 1.898 MB / 0.7616 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.051, allocations: 4.062 kB / 0.7616 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.052, allocations: 147.8 kB / 0.7617 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008557/1.053, allocations: 69.92 kB / 0.7618 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.053, allocations: 23.98 kB / 0.7618 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/1.056, allocations: 1.658 MB / 0.7634 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.056, allocations: 0 / 0.7634 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/1.06, allocations: 0.9218 MB / 0.7643 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/1.061, allocations: 263.8 kB / 0.7646 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/1.061, allocations: 16 kB / 0.7646 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01755/1.079, allocations: 51.94 kB / 0.7646 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/1.079, allocations: 56.92 kB / 0.7647 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.079, allocations: 35.98 kB / 0.7647 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001204/1.081, allocations: 443 kB / 0.7651 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/1.081, allocations: 0 / 0.7651 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00184/1.082, allocations: 316.2 kB / 0.7654 GB, free: 2.438 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 (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.006938/1.089, allocations: 1.981 MB / 0.7674 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02048/1.11, allocations: 0.9184 MB / 0.7683 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/1.11, allocations: 8 kB / 0.7683 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.112, allocations: 496.8 kB / 0.7688 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.115, allocations: 295.3 kB / 0.769 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.136, allocations: 6.232 MB / 0.7751 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.137, allocations: 1.016 MB / 0.7761 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00176/1.139, allocations: 270.2 kB / 0.7764 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/1.14, allocations: 375.3 kB / 0.7767 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.14, allocations: 0 / 0.7767 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/1.35, allocations: 20.25 MB / 0.7965 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.2/27.55, allocations: 15.8 kB / 0.7965 GB, free: 3.027 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)