Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_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.001268/0.001268, allocations: 97.12 kB / 15.69 MB, free: 488 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.001522/0.001522, allocations: 175.1 kB / 16.57 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.338/1.338, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6443/0.6443, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00512/0.1724, allocations: 3.897 MB / 0.5605 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4319/0.6043, allocations: 127.7 MB / 0.6853 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.6051, allocations: 15.94 kB / 0.6853 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.6055, allocations: 83.25 kB / 0.6853 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.6071, allocations: 499 kB / 0.6858 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.609, allocations: 0.7138 MB / 0.6865 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.6103, allocations: 0.9086 MB / 0.6874 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/0.6112, allocations: 0.5592 MB / 0.688 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.6118, allocations: 414.3 kB / 0.6883 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.6124, allocations: 444.2 kB / 0.6888 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.6125, allocations: 36 kB / 0.6888 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007294/0.6132, allocations: 331.6 kB / 0.6891 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.6135, allocations: 219.1 kB / 0.6893 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.6137, allocations: 217.1 kB / 0.6895 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.6153, allocations: 1.345 MB / 0.6909 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.6153, allocations: 0 / 0.6909 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6153, allocations: 0 / 0.6909 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.6153, allocations: 0 / 0.6909 GB, free: 0.5703 MB / 0.4981 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.003185/0.6185, allocations: 1.412 MB / 0.6922 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6186, allocations: 8.031 kB / 0.6922 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/0.6188, allocations: 168.9 kB / 0.6924 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006084/0.6249, allocations: 0.8292 MB / 0.6932 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.6267, allocations: 0.7886 MB / 0.694 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.6268, allocations: 78.2 kB / 0.6941 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.627, allocations: 112 kB / 0.6942 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.6306, allocations: 1.436 MB / 0.6956 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.6307, allocations: 3.984 kB / 0.6956 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.6308, allocations: 52 kB / 0.6956 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.6308, allocations: 28 kB / 0.6956 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/0.6356, allocations: 1.925 MB / 0.6975 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.642, allocations: 3.315 MB / 0.7008 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.6453, allocations: 1.382 MB / 0.7021 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/0.646, allocations: 482.6 kB / 0.7026 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/0.6479, allocations: 0.8049 MB / 0.7034 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=109): time 2.575e-06/0.6479, allocations: 4 kB / 0.7034 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=109): time 0.005828/0.6537, allocations: 1.982 MB / 0.7053 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6539, allocations: 204.8 kB / 0.7055 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.6547, allocations: 0.6373 MB / 0.7061 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.6548, allocations: 45.7 kB / 0.7062 GB, free: 452 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.6551, allocations: 444.5 kB / 0.7066 GB, free: 0 / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.6554, allocations: 351 kB / 0.7069 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.6555, allocations: 20 kB / 0.7069 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6557, allocations: 394.7 kB / 0.7073 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.6571, allocations: 493.7 kB / 0.7078 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.6586, allocations: 0.6086 MB / 0.7084 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.66, allocations: 0.5144 MB / 0.7089 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.66, allocations: 0 / 0.7089 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003648/0.6637, allocations: 1.332 MB / 0.7102 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6637, allocations: 8 kB / 0.7102 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.6637, allocations: 4.125 kB / 0.7102 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.6643, allocations: 80.72 kB / 0.7103 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.6657, allocations: 267.7 kB / 0.7105 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.6681, allocations: 1.528 MB / 0.712 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.6693, allocations: 175.8 kB / 0.7122 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.6694, allocations: 39.97 kB / 0.7122 GB, free: 10.02 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005427/0.67, allocations: 290.5 kB / 0.7125 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6702, allocations: 98.88 kB / 0.7126 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.6746, allocations: 1.696 MB / 0.7142 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6746, allocations: 12 kB / 0.7143 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.6747, allocations: 0 / 0.7143 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.6747, allocations: 7.969 kB / 0.7143 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.6806, allocations: 2.869 MB / 0.7171 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6807, allocations: 0 / 0.7171 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.682, allocations: 255.6 kB / 0.7173 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.6825, allocations: 84.77 kB / 0.7174 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.6826, allocations: 35.97 kB / 0.7174 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.6844, allocations: 1.552 MB / 0.7189 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6844, allocations: 8.016 kB / 0.719 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.6882, allocations: 1.535 MB / 0.7204 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.6887, allocations: 335.3 kB / 0.7208 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.6889, allocations: 27.95 kB / 0.7208 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6901, allocations: 146.9 kB / 0.7209 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6902, allocations: 88.86 kB / 0.721 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.6903, allocations: 47.97 kB / 0.7211 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005661/0.6909, allocations: 463 kB / 0.7215 GB, free: 256 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.665e-06/0.6909, allocations: 0 / 0.7215 GB, free: 256 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009904/0.6919, allocations: 391 kB / 0.7219 GB, free: 15.86 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005116/0.697, allocations: 2.601 MB / 0.7244 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003751/0.7008, allocations: 1.366 MB / 0.7258 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7008, allocations: 0 / 0.7258 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.7033, allocations: 0.8242 MB / 0.7266 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7046, allocations: 241.6 kB / 0.7268 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.7221, allocations: 7.128 MB / 0.7338 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.7228, allocations: 1.115 MB / 0.7348 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001527/0.7243, allocations: 335.7 kB / 0.7352 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/0.7251, allocations: 454 kB / 0.7356 GB, free: 1.773 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.7251, allocations: 4 kB / 0.7356 GB, free: 1.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7675/1.493, allocations: 25.19 MB / 0.7602 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.493, allocations: 303 kB / 0.7605 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/4.552, allocations: 2.562 kB / 0.7605 GB, free: 8.672 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) Environment - environmentSimulation: