Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.0016/0.0016, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.00143/0.00143, allocations: 215.8 kB / 23 MB, free: 5 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9591/0.9591, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.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.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",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.002089/0.002089, allocations: 66.67 kB / 0.6413 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1696, allocations: 89.17 MB / 0.7283 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00767/0.1773, allocations: 5.251 MB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5485/0.7258, allocations: 154.2 MB / 0.884 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.7269, allocations: 23.81 kB / 0.8841 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.7277, allocations: 210.1 kB / 0.8843 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.7299, allocations: 0.5809 MB / 0.8848 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.7322, allocations: 0.8966 MB / 0.8857 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.7344, allocations: 1.478 MB / 0.8871 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.7353, allocations: 486.3 kB / 0.8876 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008867/0.7362, allocations: 0.545 MB / 0.8881 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.7369, allocations: 0.5601 MB / 0.8887 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.7371, allocations: 128 kB / 0.8888 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.7383, allocations: 0.5274 MB / 0.8893 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.7386, allocations: 334.9 kB / 0.8896 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006314/0.7392, allocations: 0.618 MB / 0.8903 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.742, allocations: 1.807 MB / 0.892 GB, free: 15.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.742, allocations: 0 / 0.892 GB, free: 15.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.044e-06/0.742, allocations: 0 / 0.892 GB, free: 15.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.742, allocations: 0 / 0.892 GB, free: 15.68 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003129/0.7451, allocations: 1.504 MB / 0.8935 GB, free: 14.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7452, allocations: 8.031 kB / 0.8935 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.7454, allocations: 156.2 kB / 0.8936 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.7478, allocations: 371.8 kB / 0.894 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.7493, allocations: 0.7425 MB / 0.8947 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.7494, allocations: 74 kB / 0.8948 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.7495, allocations: 95.98 kB / 0.8949 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.7515, allocations: 1.07 MB / 0.8959 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.7515, allocations: 0 / 0.8959 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/0.7516, allocations: 40 kB / 0.896 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.7517, allocations: 24 kB / 0.896 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.7541, allocations: 1.272 MB / 0.8972 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/0.7594, allocations: 3.026 MB / 0.9002 GB, free: 7.051 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.762, allocations: 0.8936 MB / 0.9011 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007947/0.7628, allocations: 338.4 kB / 0.9014 GB, free: 5.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-05/0.7629, allocations: 36.59 kB / 0.9014 GB, free: 5.785 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.7641, allocations: 0.5606 MB / 0.902 GB, free: 5.203 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.355e-06/0.7641, allocations: 0 / 0.902 GB, free: 5.203 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.004163/0.7683, allocations: 1.313 MB / 0.9032 GB, free: 3.883 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.7684, allocations: 192.9 kB / 0.9034 GB, free: 3.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7695, allocations: 0.6646 MB / 0.9041 GB, free: 2.984 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.7696, allocations: 41.7 kB / 0.9041 GB, free: 2.938 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.77, allocations: 445 kB / 0.9045 GB, free: 2.496 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.7703, allocations: 285.5 kB / 0.9048 GB, free: 2.215 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.7706, allocations: 154.6 kB / 0.905 GB, free: 2.059 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.7708, allocations: 386.8 kB / 0.9053 GB, free: 1.672 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/0.7716, allocations: 305.8 kB / 0.9056 GB, free: 1.371 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.7725, allocations: 414.5 kB / 0.906 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.774, allocations: 0.6906 MB / 0.9067 GB, free: 244 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.774, allocations: 3.984 kB / 0.9067 GB, free: 240 kB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002491/0.7765, allocations: 0.931 MB / 0.9076 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7765, allocations: 4 kB / 0.9076 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.7766, allocations: 4 kB / 0.9076 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.7772, allocations: 84.86 kB / 0.9077 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.778, allocations: 171.8 kB / 0.9079 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.7803, allocations: 1.53 MB / 0.9094 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/0.7812, allocations: 119.7 kB / 0.9095 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.7812, allocations: 31.92 kB / 0.9095 GB, free: 13.24 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 (90): * Single equations (assignments): 89 * 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.0005239/0.7817, allocations: 275.6 kB / 0.9098 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.7819, allocations: 91.44 kB / 0.9098 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.7849, allocations: 1.208 MB / 0.911 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.7849, allocations: 8 kB / 0.911 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7849, allocations: 0 / 0.911 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.7849, allocations: 3.984 kB / 0.911 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.789, allocations: 2.148 MB / 0.9131 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.789, allocations: 0 / 0.9131 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.7898, allocations: 171.8 kB / 0.9133 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.7902, allocations: 76.78 kB / 0.9134 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.7903, allocations: 23.98 kB / 0.9134 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.7924, allocations: 1.556 MB / 0.9149 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7924, allocations: 0 / 0.9149 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.7951, allocations: 1.123 MB / 0.916 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/0.7956, allocations: 219 kB / 0.9162 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.7957, allocations: 19.94 kB / 0.9162 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.7965, allocations: 84.61 kB / 0.9163 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.7967, allocations: 80.94 kB / 0.9164 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.7968, allocations: 43.95 kB / 0.9164 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007304/0.7975, allocations: 487 kB / 0.9169 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7975, allocations: 0 / 0.9169 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001011/0.7985, allocations: 343.1 kB / 0.9172 GB, free: 5.113 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 (97): * Single equations (assignments): 91 * 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.004818/0.8033, allocations: 2.18 MB / 0.9194 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.8057, allocations: 0.8938 MB / 0.9202 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8057, allocations: 0 / 0.9202 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.8069, allocations: 0.5509 MB / 0.9208 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.8082, allocations: 305.6 kB / 0.9211 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.821, allocations: 6.836 MB / 0.9277 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.8218, allocations: 1.055 MB / 0.9288 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009653/0.8227, allocations: 287 kB / 0.929 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.8234, allocations: 427.2 kB / 0.9295 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of SimCode: time 8.12e-07/0.8234, allocations: 0 / 0.9295 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06651/0.8899, allocations: 23.63 MB / 0.9525 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.26, allocations: 4.922 kB / 0.9525 GB, free: 1.191 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.322983553000086] Failed to read output from testmodel.py, exit status != 0: 15.485588185001689 15.505632318 14.759032716 Calling exit ...