Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9906/0.9906, allocations: 150 MB / 460.2 MB, free: 5.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1739, allocations: 89.13 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007711/0.1816, allocations: 5.226 MB / 0.7289 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5826/0.7642, allocations: 154.1 MB / 0.8794 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009811/0.7651, allocations: 23.72 kB / 0.8794 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.7658, allocations: 206.1 kB / 0.8796 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.7679, allocations: 0.5848 MB / 0.8802 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.77, allocations: 0.8859 MB / 0.8811 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.7717, allocations: 1.472 MB / 0.8825 GB, free: 2.09 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.7725, allocations: 480.7 kB / 0.883 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.7733, allocations: 0.5416 MB / 0.8835 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007084/0.774, allocations: 0.5616 MB / 0.884 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.7743, allocations: 125.8 kB / 0.8842 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.7763, allocations: 0.5388 MB / 0.8847 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.7766, allocations: 319.6 kB / 0.885 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009131/0.7775, allocations: 0.6204 MB / 0.8856 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.7817, allocations: 1.809 MB / 0.8874 GB, free: 1.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.7817, allocations: 0 / 0.8874 GB, free: 1.891 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7817, allocations: 2.281 kB / 0.8874 GB, free: 1.891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.012e-05/0.7817, allocations: 0 / 0.8874 GB, free: 1.891 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003875/0.7856, allocations: 1.573 MB / 0.8889 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/0.7857, allocations: 9.812 kB / 0.8889 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.296e-05/0.7858, allocations: 28.22 kB / 0.8889 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.786, allocations: 151.3 kB / 0.8891 GB, free: 16.99 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.7985, allocations: 1.799 MB / 0.8908 GB, free: 16.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.8005, allocations: 0.8344 MB / 0.8916 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-05/0.8006, allocations: 71.66 kB / 0.8917 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.8008, allocations: 92.36 kB / 0.8918 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006369/0.8072, allocations: 1.879 MB / 0.8936 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.8072, allocations: 4 kB / 0.8936 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.8073, allocations: 40.2 kB / 0.8937 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.8073, allocations: 24.25 kB / 0.8937 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009909/0.8172, allocations: 2.795 MB / 0.8964 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.8276, allocations: 5.412 MB / 0.9017 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005878/0.8335, allocations: 1.67 MB / 0.9034 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004569/0.8381, allocations: 1.096 MB / 0.9044 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.8382, allocations: 33.83 kB / 0.9045 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005023/0.8432, allocations: 1.346 MB / 0.9058 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.8432, allocations: 0 / 0.9058 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.01494/0.8582, allocations: 3.55 MB / 0.9092 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.8583, allocations: 190.7 kB / 0.9094 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.8594, allocations: 0.6692 MB / 0.9101 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.8596, allocations: 44.55 kB / 0.9101 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.86, allocations: 433.9 kB / 0.9105 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.8603, allocations: 282.6 kB / 0.9108 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.8606, allocations: 161.3 kB / 0.9109 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.8608, allocations: 392.2 kB / 0.9113 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/0.8653, allocations: 1.058 MB / 0.9124 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.8698, allocations: 1.177 MB / 0.9135 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/0.878, allocations: 1.965 MB / 0.9154 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.878, allocations: 0 / 0.9154 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009749/0.8877, allocations: 2.333 MB / 0.9177 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.8878, allocations: 5.375 kB / 0.9177 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8878, allocations: 0 / 0.9177 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.8884, allocations: 87.2 kB / 0.9178 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.891, allocations: 477.5 kB / 0.9182 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.8932, allocations: 1.634 MB / 0.9198 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.8961, allocations: 414.3 kB / 0.9202 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.8962, allocations: 36.06 kB / 0.9203 GB, free: 9.227 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 87 * 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.000582/0.8967, allocations: 274.4 kB / 0.9205 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.897, allocations: 94.34 kB / 0.9206 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9076, allocations: 2.656 MB / 0.9232 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.9076, allocations: 13.47 kB / 0.9232 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9077, allocations: 0 / 0.9232 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.9077, allocations: 3.984 kB / 0.9232 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.9203, allocations: 4.443 MB / 0.9276 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.9204, allocations: 0 / 0.9276 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/0.9229, allocations: 467.4 kB / 0.928 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.9234, allocations: 77.12 kB / 0.9281 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.9235, allocations: 31.78 kB / 0.9281 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.9257, allocations: 1.664 MB / 0.9297 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9258, allocations: 0 / 0.9297 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.9358, allocations: 2.524 MB / 0.9322 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.9365, allocations: 321 kB / 0.9325 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.9367, allocations: 15.16 kB / 0.9325 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/0.9393, allocations: 384.8 kB / 0.9329 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.9395, allocations: 76.34 kB / 0.933 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.9396, allocations: 47.34 kB / 0.933 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006581/0.9403, allocations: 489 kB / 0.9335 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9403, allocations: 0 / 0.9335 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001153/0.9415, allocations: 375.5 kB / 0.9338 GB, free: 3.195 MB / 0.6856 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 (93): * Single equations (assignments): 87 * 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.01253/0.954, allocations: 3.58 MB / 0.9373 GB, free: 352 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.9648, allocations: 2.414 MB / 0.9397 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.9648, allocations: 7.047 kB / 0.9397 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/0.9702, allocations: 1.315 MB / 0.941 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.972, allocations: 319.9 kB / 0.9413 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/1.01, allocations: 11.3 MB / 0.9523 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/1.011, allocations: 1.046 MB / 0.9533 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001381/1.012, allocations: 315 kB / 0.9536 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008353/1.013, allocations: 428.7 kB / 0.9541 GB, free: 272 kB / 0.7012 GB Notification: Performance of SimCode: time 1.072e-06/1.013, allocations: 0 / 0.9541 GB, free: 272 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06254/1.076, allocations: 24.89 MB / 0.9784 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.47, allocations: 6.5 kB / 0.9784 GB, free: 7.73 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.755327474034857] Failed to read output from testmodel.py, exit status != 0: 15.745026927033905 15.765613071 14.980466893 Calling exit ...