Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.00163/0.00163, 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.001968/0.001968, allocations: 194.6 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 1.757/1.757, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.554/1.554, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.006389/0.006389, allocations: 69.03 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.221, allocations: 80.92 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.01151/0.2326, allocations: 4.412 MB / 0.5888 GB, free: 44 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4773/0.71, allocations: 150.6 MB / 0.7359 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.7107, allocations: 20.69 kB / 0.7359 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.7114, allocations: 177.7 kB / 0.7361 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.7131, allocations: 492.1 kB / 0.7365 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.7152, allocations: 0.8942 MB / 0.7374 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.7168, allocations: 1.358 MB / 0.7387 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7179, allocations: 0.7864 MB / 0.7395 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.7187, allocations: 0.5221 MB / 0.74 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008054/0.7196, allocations: 0.5812 MB / 0.7406 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.7198, allocations: 131.1 kB / 0.7407 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.7209, allocations: 489.5 kB / 0.7412 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.7213, allocations: 339.7 kB / 0.7415 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009003/0.7222, allocations: 0.5936 MB / 0.7421 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.7242, allocations: 1.706 MB / 0.7438 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7243, allocations: 0 / 0.7438 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7243, allocations: 0 / 0.7438 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.399e-05/0.7243, allocations: 0 / 0.7438 GB, free: 7.258 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003214/0.7275, allocations: 1.564 MB / 0.7453 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7276, allocations: 10.69 kB / 0.7453 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.7278, allocations: 158.7 kB / 0.7454 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/0.7333, allocations: 0.7443 MB / 0.7462 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.7345, allocations: 0.795 MB / 0.7469 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.7346, allocations: 76.41 kB / 0.747 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.7347, allocations: 103.7 kB / 0.7471 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.7378, allocations: 1.366 MB / 0.7485 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.7379, allocations: 0 / 0.7485 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.738, allocations: 46.69 kB / 0.7485 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.738, allocations: 26.09 kB / 0.7485 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.7428, allocations: 1.835 MB / 0.7503 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.749, allocations: 3.144 MB / 0.7534 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005239/0.7543, allocations: 1.267 MB / 0.7546 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.7566, allocations: 0.5685 MB / 0.7552 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/0.7573, allocations: 486.6 kB / 0.7556 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/0.7593, allocations: 0.7308 MB / 0.7564 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 3.006e-06/0.7593, allocations: 0 / 0.7564 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.006303/0.7656, allocations: 1.844 MB / 0.7582 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.7658, allocations: 192.9 kB / 0.7583 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.7666, allocations: 0.6096 MB / 0.7589 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.7668, allocations: 45.7 kB / 0.759 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.7672, allocations: 416.5 kB / 0.7594 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.7675, allocations: 342.9 kB / 0.7597 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.7678, allocations: 182.5 kB / 0.7599 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.7681, allocations: 382.8 kB / 0.7602 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.7696, allocations: 457.7 kB / 0.7607 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.7712, allocations: 0.5745 MB / 0.7612 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.7742, allocations: 0.9998 MB / 0.7622 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.7742, allocations: 4 kB / 0.7622 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004052/0.7783, allocations: 1.243 MB / 0.7634 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7783, allocations: 4 kB / 0.7634 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7783, allocations: 0 / 0.7634 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.779, allocations: 84.89 kB / 0.7635 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.7804, allocations: 247.6 kB / 0.7638 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.7825, allocations: 1.632 MB / 0.7653 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.7838, allocations: 143.2 kB / 0.7655 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.7839, allocations: 39.97 kB / 0.7655 GB, free: 2.578 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (104): * Single equations (assignments): 103 * 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.0004912/0.7844, allocations: 273.6 kB / 0.7658 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.7846, allocations: 86.95 kB / 0.7659 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/0.7903, allocations: 1.577 MB / 0.7674 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.7903, allocations: 12 kB / 0.7674 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.7903, allocations: 8.062 kB / 0.7674 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.7903, allocations: 3.984 kB / 0.7674 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007725/0.7981, allocations: 2.73 MB / 0.7701 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.7981, allocations: 0 / 0.7701 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.7995, allocations: 247.6 kB / 0.7703 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.8, allocations: 76.77 kB / 0.7704 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.8001, allocations: 31.98 kB / 0.7704 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.802, allocations: 1.65 MB / 0.772 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.802, allocations: 0 / 0.772 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.8063, allocations: 1.441 MB / 0.7735 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/0.8069, allocations: 295.6 kB / 0.7737 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.807, allocations: 24 kB / 0.7738 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.8083, allocations: 110.4 kB / 0.7739 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8084, allocations: 84.83 kB / 0.7739 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.8086, allocations: 39.97 kB / 0.774 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005806/0.8091, allocations: 446.8 kB / 0.7744 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8091, allocations: 0 / 0.7744 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009772/0.8101, allocations: 359.1 kB / 0.7748 GB, free: 8.863 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 (113): * Single equations (assignments): 110 * 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.005568/0.8157, allocations: 2.496 MB / 0.7772 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004687/0.8204, allocations: 1.53 MB / 0.7787 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.8204, allocations: 3.984 kB / 0.7787 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.8225, allocations: 0.7773 MB / 0.7794 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.8239, allocations: 293.6 kB / 0.7797 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.8414, allocations: 8.057 MB / 0.7876 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/0.8421, allocations: 1.057 MB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001565/0.8437, allocations: 331.2 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/0.8444, allocations: 427.2 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.8444, allocations: 4 kB / 0.7894 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05397/0.8984, allocations: 23.81 MB / 0.8126 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.28/21.18, allocations: 21.86 kB / 0.8126 GB, free: 2.457 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_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_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)