Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_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.001849/0.001849, allocations: 108 kB / 15.6 MB, free: 132 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.002043/0.002043, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002519, allocations: 285.5 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 93.09 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1484, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007332/0.1557, allocations: 5.39 MB / 0.6989 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4112/0.5669, allocations: 150.8 MB / 0.8462 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.5677, allocations: 20.25 kB / 0.8462 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.5684, allocations: 214.3 kB / 0.8464 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.57, allocations: 0.5683 MB / 0.8469 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.572, allocations: 0.9447 MB / 0.8479 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.5735, allocations: 1.603 MB / 0.8494 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009555/0.5744, allocations: 0.7424 MB / 0.8501 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006014/0.575, allocations: 0.5856 MB / 0.8507 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.5758, allocations: 0.6466 MB / 0.8514 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.576, allocations: 143.7 kB / 0.8515 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.5767, allocations: 0.496 MB / 0.852 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.5771, allocations: 370.3 kB / 0.8523 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000602/0.5777, allocations: 0.6738 MB / 0.853 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.5795, allocations: 1.869 MB / 0.8548 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5795, allocations: 2.781 kB / 0.8548 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5795, allocations: 0 / 0.8548 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.5796, allocations: 0 / 0.8548 GB, free: 0.7812 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003109/0.5827, allocations: 1.682 MB / 0.8565 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.5827, allocations: 10.06 kB / 0.8565 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.5829, allocations: 170.6 kB / 0.8566 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/0.5883, allocations: 0.7569 MB / 0.8574 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5895, allocations: 0.8071 MB / 0.8582 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.5896, allocations: 87.92 kB / 0.8582 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.5897, allocations: 107.8 kB / 0.8583 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.5929, allocations: 1.434 MB / 0.8597 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.5929, allocations: 0 / 0.8597 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.5931, allocations: 46.09 kB / 0.8598 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5931, allocations: 27.47 kB / 0.8598 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004648/0.5977, allocations: 1.887 MB / 0.8617 GB, free: 12.46 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006235/0.604, allocations: 3.538 MB / 0.8651 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.6075, allocations: 1.39 MB / 0.8665 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.6091, allocations: 0.6001 MB / 0.8671 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006979/0.6098, allocations: 474.9 kB / 0.8675 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/0.6118, allocations: 0.8157 MB / 0.8683 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 2.555e-06/0.6118, allocations: 0 / 0.8683 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.00641/0.6182, allocations: 1.971 MB / 0.8702 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.6184, allocations: 196.9 kB / 0.8704 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.6192, allocations: 0.6528 MB / 0.8711 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.6193, allocations: 49.7 kB / 0.8711 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.6197, allocations: 448.5 kB / 0.8715 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.62, allocations: 350.8 kB / 0.8719 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.6204, allocations: 186.5 kB / 0.872 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.6206, allocations: 398.7 kB / 0.8724 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.6221, allocations: 489.7 kB / 0.8729 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.6238, allocations: 0.6125 MB / 0.8735 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.627, allocations: 1.058 MB / 0.8745 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.627, allocations: 5.625 kB / 0.8745 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004136/0.6312, allocations: 1.329 MB / 0.8758 GB, free: 180 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6312, allocations: 5.562 kB / 0.8758 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6312, allocations: 0 / 0.8758 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.6318, allocations: 76.91 kB / 0.8759 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.6333, allocations: 263.6 kB / 0.8762 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.6356, allocations: 1.639 MB / 0.8778 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.6369, allocations: 159 kB / 0.8779 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.637, allocations: 39.97 kB / 0.8779 GB, free: 13.86 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.000475/0.6374, allocations: 286.9 kB / 0.8782 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.6377, allocations: 94.81 kB / 0.8783 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005101/0.6428, allocations: 1.679 MB / 0.8799 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6428, allocations: 15.98 kB / 0.88 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.6428, allocations: 0 / 0.88 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.6428, allocations: 3.984 kB / 0.88 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.649, allocations: 2.817 MB / 0.8827 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.649, allocations: 3.656 kB / 0.8827 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.6504, allocations: 255.6 kB / 0.883 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.6509, allocations: 76.78 kB / 0.883 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.651, allocations: 31.97 kB / 0.8831 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.6531, allocations: 1.654 MB / 0.8847 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6531, allocations: 7.875 kB / 0.8847 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.6574, allocations: 1.527 MB / 0.8862 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.6578, allocations: 323.5 kB / 0.8865 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.658, allocations: 20 kB / 0.8865 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.6593, allocations: 131.8 kB / 0.8866 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.6595, allocations: 88.81 kB / 0.8867 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6596, allocations: 43.97 kB / 0.8868 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006236/0.6602, allocations: 479 kB / 0.8872 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6602, allocations: 0 / 0.8872 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001121/0.6613, allocations: 391 kB / 0.8876 GB, free: 3.715 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006536/0.6679, allocations: 2.607 MB / 0.8901 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005076/0.673, allocations: 1.628 MB / 0.8917 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.673, allocations: 0 / 0.8917 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.6751, allocations: 0.8164 MB / 0.8925 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.6766, allocations: 314.1 kB / 0.8928 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.6943, allocations: 8.499 MB / 0.9011 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.695, allocations: 1.087 MB / 0.9022 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001502/0.6966, allocations: 335.9 kB / 0.9025 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/0.6974, allocations: 471.2 kB / 0.903 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.6974, allocations: 0 / 0.903 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/0.7609, allocations: 25.36 MB / 0.9277 GB, free: 11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.9, allocations: 11.22 kB / 0.9277 GB, free: 10.99 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)