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.001328/0.001328, allocations: 111.3 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.001468/0.001468, allocations: 204 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.489/1.489, allocations: 230.6 MB / 253.5 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.9966/0.9966, allocations: 150 MB / 459.5 MB, free: 5.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.002149/0.002149, allocations: 77.52 kB / 0.6361 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1795, allocations: 89.12 MB / 0.7231 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008579/0.1881, allocations: 5.235 MB / 0.7283 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6372/0.8254, allocations: 154.1 MB / 0.8787 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.8263, allocations: 24.06 kB / 0.8787 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000968/0.8272, allocations: 205.4 kB / 0.8789 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.8301, allocations: 0.5891 MB / 0.8795 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.8328, allocations: 0.8782 MB / 0.8804 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.8348, allocations: 1.474 MB / 0.8818 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8359, allocations: 473.6 kB / 0.8823 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.8371, allocations: 0.5441 MB / 0.8828 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.8379, allocations: 0.5542 MB / 0.8833 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.8381, allocations: 128.8 kB / 0.8835 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.8394, allocations: 0.5419 MB / 0.884 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.8397, allocations: 324.1 kB / 0.8843 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.8405, allocations: 0.6125 MB / 0.8849 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.8433, allocations: 1.809 MB / 0.8867 GB, free: 1.902 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8433, allocations: 0.9375 kB / 0.8867 GB, free: 1.902 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8433, allocations: 1.094 kB / 0.8867 GB, free: 1.902 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.8434, allocations: 0 / 0.8867 GB, free: 1.902 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.003183/0.8466, allocations: 1.579 MB / 0.8882 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8466, allocations: 9.562 kB / 0.8882 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.8468, allocations: 147.2 kB / 0.8884 GB, free: 17.01 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.8591, allocations: 1.802 MB / 0.8901 GB, free: 16.85 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.8609, allocations: 0.8356 MB / 0.8909 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.8609, allocations: 80.59 kB / 0.891 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.8611, allocations: 88.62 kB / 0.8911 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006254/0.8674, allocations: 1.875 MB / 0.8929 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.8674, allocations: 0 / 0.8929 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.8675, allocations: 45.53 kB / 0.893 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.8675, allocations: 22.72 kB / 0.893 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.8777, allocations: 2.798 MB / 0.8957 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.8884, allocations: 5.406 MB / 0.901 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/0.8941, allocations: 1.678 MB / 0.9026 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004466/0.8985, allocations: 1.092 MB / 0.9037 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.723e-05/0.8986, allocations: 31.62 kB / 0.9037 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004995/0.9036, allocations: 1.353 MB / 0.9051 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.9036, allocations: 0 / 0.9051 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.01513/0.9188, allocations: 3.548 MB / 0.9085 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.9189, allocations: 194 kB / 0.9087 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009349/0.9198, allocations: 0.6703 MB / 0.9094 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.92, allocations: 44.55 kB / 0.9094 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.9203, allocations: 434.5 kB / 0.9098 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.9206, allocations: 279.1 kB / 0.9101 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.9209, allocations: 156.2 kB / 0.9102 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.9211, allocations: 391.5 kB / 0.9106 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/0.9257, allocations: 1.06 MB / 0.9116 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00471/0.9304, allocations: 1.179 MB / 0.9128 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008582/0.939, allocations: 1.965 MB / 0.9147 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.939, allocations: 0 / 0.9147 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009878/0.9489, allocations: 2.336 MB / 0.917 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9489, allocations: 4.688 kB / 0.917 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9489, allocations: 4.359 kB / 0.917 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.9495, allocations: 81.12 kB / 0.9171 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.9521, allocations: 483.5 kB / 0.9175 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.9545, allocations: 1.632 MB / 0.9191 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.9573, allocations: 413.7 kB / 0.9195 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.9575, allocations: 36.38 kB / 0.9196 GB, free: 9.234 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.000608/0.9581, allocations: 276.1 kB / 0.9198 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.9584, allocations: 88.28 kB / 0.9199 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.9691, allocations: 2.654 MB / 0.9225 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.9691, allocations: 7.875 kB / 0.9225 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9691, allocations: 4 kB / 0.9225 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.9692, allocations: 11.97 kB / 0.9225 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.9818, allocations: 4.438 MB / 0.9269 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.9818, allocations: 0 / 0.9269 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/0.9844, allocations: 474.7 kB / 0.9273 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.9849, allocations: 73.44 kB / 0.9274 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/0.9851, allocations: 32.09 kB / 0.9274 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.9873, allocations: 1.661 MB / 0.929 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.9873, allocations: 3.984 kB / 0.929 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.9977, allocations: 2.523 MB / 0.9315 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00081/0.9985, allocations: 310.7 kB / 0.9318 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.9987, allocations: 22.14 kB / 0.9318 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.001, allocations: 381.3 kB / 0.9322 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/1.002, allocations: 80.3 kB / 0.9323 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.002, allocations: 39.41 kB / 0.9323 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007536/1.003, allocations: 490 kB / 0.9328 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.1e-08/1.003, allocations: 0 / 0.9328 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001256/1.004, allocations: 374.2 kB / 0.9331 GB, free: 3.184 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.01299/1.017, allocations: 3.589 MB / 0.9366 GB, free: 356 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.028, allocations: 2.414 MB / 0.939 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.028, allocations: 0 / 0.939 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005718/1.033, allocations: 1.321 MB / 0.9403 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.001798/1.035, allocations: 299.3 kB / 0.9406 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/1.076, allocations: 11.3 MB / 0.9516 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/1.077, allocations: 1.043 MB / 0.9526 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001375/1.078, allocations: 318.9 kB / 0.9529 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.079, allocations: 426.3 kB / 0.9533 GB, free: 260 kB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/1.079, allocations: 4 kB / 0.9533 GB, free: 256 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/1.153, allocations: 24.86 MB / 0.9776 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.83, allocations: 6.359 kB / 0.9776 GB, free: 7.723 MB / 0.7325 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 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: 18.964317495003343] Failed to read output from testmodel.py, exit status != 0: 15.042375918012112 15.05804769 14.211442612 Calling exit ...