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.002019/0.002019, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.002297/0.002297, allocations: 205 kB / 20.09 MB, free: 2.977 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.999/0.999, allocations: 150 MB / 459.5 MB, free: 5.305 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.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.0021/0.0021, allocations: 69.58 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1666, allocations: 89.12 MB / 0.7231 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008049/0.1747, allocations: 5.219 MB / 0.7282 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5915/0.7661, allocations: 154 MB / 0.8787 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.7669, allocations: 20.78 kB / 0.8787 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.7675, allocations: 212 kB / 0.8789 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.7691, allocations: 0.5814 MB / 0.8795 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.771, allocations: 0.8686 MB / 0.8803 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.7723, allocations: 1.477 MB / 0.8817 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.773, allocations: 489.1 kB / 0.8822 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.7735, allocations: 0.5466 MB / 0.8827 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.7741, allocations: 0.5564 MB / 0.8833 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.7743, allocations: 130.1 kB / 0.8834 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.7753, allocations: 0.5254 MB / 0.8839 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7756, allocations: 333.3 kB / 0.8842 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.7761, allocations: 0.6187 MB / 0.8848 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.7781, allocations: 1.806 MB / 0.8866 GB, free: 1.895 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7781, allocations: 0.9844 kB / 0.8866 GB, free: 1.895 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7781, allocations: 0.75 kB / 0.8866 GB, free: 1.895 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.7781, allocations: 0 / 0.8866 GB, free: 1.895 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.003022/0.7812, allocations: 1.582 MB / 0.8882 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7812, allocations: 14.12 kB / 0.8882 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.7814, allocations: 152.1 kB / 0.8883 GB, free: 17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.784, allocations: 364.4 kB / 0.8887 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.7853, allocations: 0.809 MB / 0.8895 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.7854, allocations: 75.62 kB / 0.8895 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.7856, allocations: 101.2 kB / 0.8896 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.7881, allocations: 1.064 MB / 0.8907 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.7881, allocations: 1.656 kB / 0.8907 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.7883, allocations: 44.86 kB / 0.8907 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.7883, allocations: 23.69 kB / 0.8907 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.7909, allocations: 1.27 MB / 0.892 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.796, allocations: 3.082 MB / 0.895 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.7985, allocations: 0.9821 MB / 0.8959 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/0.7993, allocations: 336 kB / 0.8963 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.677e-05/0.7994, allocations: 33.22 kB / 0.8963 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.8005, allocations: 0.5553 MB / 0.8968 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 3.156e-06/0.8005, allocations: 3.094 kB / 0.8968 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.004066/0.8046, allocations: 1.386 MB / 0.8982 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.8047, allocations: 194.1 kB / 0.8984 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000862/0.8056, allocations: 0.6758 MB / 0.899 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.8057, allocations: 48.67 kB / 0.8991 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.806, allocations: 435.5 kB / 0.8995 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.8062, allocations: 280.6 kB / 0.8998 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.8064, allocations: 156.3 kB / 0.8999 GB, free: 14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.8067, allocations: 389 kB / 0.9003 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/0.8074, allocations: 305 kB / 0.9006 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/0.8082, allocations: 411.2 kB / 0.901 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.8097, allocations: 0.691 MB / 0.9016 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.8097, allocations: 3.094 kB / 0.9016 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002435/0.8121, allocations: 0.9329 MB / 0.9026 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8121, allocations: 4.094 kB / 0.9026 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.8121, allocations: 2.969 kB / 0.9026 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.8127, allocations: 81 kB / 0.9026 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.8135, allocations: 178.1 kB / 0.9028 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.8161, allocations: 1.635 MB / 0.9044 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000962/0.8171, allocations: 115.2 kB / 0.9045 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.8171, allocations: 32.39 kB / 0.9045 GB, free: 11.97 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.0005008/0.8176, allocations: 273.5 kB / 0.9048 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.8178, allocations: 94.12 kB / 0.9049 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.8207, allocations: 1.206 MB / 0.9061 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.8207, allocations: 11.89 kB / 0.9061 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8207, allocations: 8 kB / 0.9061 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.8207, allocations: 2.672 kB / 0.9061 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.8244, allocations: 2.161 MB / 0.9082 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8244, allocations: 0 / 0.9082 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.8251, allocations: 179.8 kB / 0.9084 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.8256, allocations: 69.3 kB / 0.9084 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.8256, allocations: 28.67 kB / 0.9085 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.8277, allocations: 1.659 MB / 0.9101 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8277, allocations: 0 / 0.9101 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.8303, allocations: 1.128 MB / 0.9112 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.8307, allocations: 294.9 kB / 0.9115 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.8309, allocations: 21.2 kB / 0.9115 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/0.8318, allocations: 84.64 kB / 0.9116 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.832, allocations: 76.8 kB / 0.9116 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/0.832, allocations: 35.77 kB / 0.9117 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00064/0.8327, allocations: 490.1 kB / 0.9122 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8327, allocations: 0 / 0.9122 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001029/0.8337, allocations: 347.9 kB / 0.9125 GB, free: 9.32 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.004843/0.8385, allocations: 2.186 MB / 0.9146 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.8407, allocations: 0.8887 MB / 0.9155 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8407, allocations: 3.484 kB / 0.9155 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.842, allocations: 0.5547 MB / 0.916 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.8436, allocations: 301.5 kB / 0.9163 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.8566, allocations: 6.828 MB / 0.923 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.8573, allocations: 1.061 MB / 0.924 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009724/0.8583, allocations: 282.8 kB / 0.9243 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006656/0.859, allocations: 432.7 kB / 0.9247 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of SimCode: time 1.273e-06/0.859, allocations: 0 / 0.9247 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0659/0.9249, allocations: 23.07 MB / 0.9472 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.81, allocations: 7.922 kB / 0.9472 GB, free: 7.508 MB / 0.7012 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: 18.953477253904566] Failed to read output from testmodel.py, exit status != 0: 15.022044532001019 15.049775014 14.266770998 Calling exit ...