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.001712/0.001712, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002169/0.002169, allocations: 210 kB / 22.99 MB, free: 4.605 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 1.008/1.008, allocations: 149.9 MB / 463 MB, free: 10.33 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.002128/0.002128, allocations: 66.34 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1914, allocations: 89.18 MB / 0.7281 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007727/0.1992, allocations: 4.677 MB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.576/0.7752, allocations: 132.7 MB / 0.8623 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007704/0.776, allocations: 23.81 kB / 0.8624 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.7766, allocations: 212.1 kB / 0.8626 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.7785, allocations: 0.5822 MB / 0.8631 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.7806, allocations: 0.8821 MB / 0.864 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.7823, allocations: 1.48 MB / 0.8654 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008031/0.7831, allocations: 457.2 kB / 0.8659 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00073/0.7838, allocations: 0.5451 MB / 0.8664 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00077/0.7846, allocations: 0.5015 MB / 0.8669 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.7848, allocations: 132 kB / 0.867 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.7859, allocations: 499.6 kB / 0.8675 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.7863, allocations: 338.9 kB / 0.8678 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.7869, allocations: 0.5054 MB / 0.8683 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.7892, allocations: 1.811 MB / 0.8701 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.7892, allocations: 8 kB / 0.8701 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7892, allocations: 0 / 0.8701 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.7892, allocations: 0 / 0.8701 GB, free: 3.961 MB / 0.6387 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.002768/0.792, allocations: 1.497 MB / 0.8716 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.792, allocations: 8.031 kB / 0.8716 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.7922, allocations: 156.3 kB / 0.8717 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.7947, allocations: 371.8 kB / 0.8721 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.796, allocations: 0.7308 MB / 0.8728 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.7961, allocations: 79.25 kB / 0.8729 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.7962, allocations: 92 kB / 0.8729 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.7984, allocations: 1.325 MB / 0.8742 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.7984, allocations: 0 / 0.8742 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.7985, allocations: 40 kB / 0.8743 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.7985, allocations: 28 kB / 0.8743 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.801, allocations: 1.225 MB / 0.8755 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/0.8057, allocations: 2.417 MB / 0.8779 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.8083, allocations: 0.8988 MB / 0.8787 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/0.8091, allocations: 342.6 kB / 0.8791 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.8092, allocations: 24.62 kB / 0.8791 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.8104, allocations: 0.6634 MB / 0.8797 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.8104, allocations: 0 / 0.8797 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004062/0.8145, allocations: 1.309 MB / 0.881 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.8146, allocations: 196.9 kB / 0.8812 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.8155, allocations: 0.6646 MB / 0.8818 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.8156, allocations: 41.7 kB / 0.8819 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.816, allocations: 437 kB / 0.8823 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.8162, allocations: 289.5 kB / 0.8826 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.8165, allocations: 154.6 kB / 0.8827 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.8167, allocations: 394.7 kB / 0.8831 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/0.8175, allocations: 301.8 kB / 0.8834 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.8185, allocations: 0.5342 MB / 0.8839 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.8201, allocations: 0.6934 MB / 0.8846 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8201, allocations: 0 / 0.8846 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002494/0.8226, allocations: 0.9311 MB / 0.8855 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.8226, allocations: 8 kB / 0.8855 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.8226, allocations: 0 / 0.8855 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.8232, allocations: 84.8 kB / 0.8856 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.824, allocations: 175.8 kB / 0.8858 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.8263, allocations: 1.516 MB / 0.8872 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.8272, allocations: 111.5 kB / 0.8873 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.8272, allocations: 35.97 kB / 0.8874 GB, free: 1.699 MB / 0.6544 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.0004971/0.8277, allocations: 277.6 kB / 0.8876 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.8279, allocations: 87.44 kB / 0.8877 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.831, allocations: 1.211 MB / 0.8889 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.831, allocations: 8 kB / 0.8889 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.831, allocations: 3.562 kB / 0.8889 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.831, allocations: 3.984 kB / 0.8889 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.835, allocations: 2.003 MB / 0.8909 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.835, allocations: 0.8125 kB / 0.8909 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/0.8358, allocations: 175.8 kB / 0.891 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.8363, allocations: 72.78 kB / 0.8911 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.8363, allocations: 23.98 kB / 0.8911 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.8383, allocations: 1.559 MB / 0.8927 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8383, allocations: 0 / 0.8927 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.841, allocations: 1.123 MB / 0.8938 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.8415, allocations: 215 kB / 0.894 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.8417, allocations: 19.98 kB / 0.894 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.8425, allocations: 81.05 kB / 0.8941 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.8426, allocations: 80.78 kB / 0.8941 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.8427, allocations: 39.98 kB / 0.8942 GB, free: 10.54 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006813/0.8434, allocations: 495 kB / 0.8946 GB, free: 10.05 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8434, allocations: 0 / 0.8946 GB, free: 10.05 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009006/0.8443, allocations: 343.1 kB / 0.895 GB, free: 9.719 MB / 0.67 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.004995/0.8493, allocations: 2.219 MB / 0.8971 GB, free: 7.711 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.8515, allocations: 0.8977 MB / 0.898 GB, free: 6.805 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8516, allocations: 4 kB / 0.898 GB, free: 6.801 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.8528, allocations: 0.5432 MB / 0.8985 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.8541, allocations: 307.1 kB / 0.8988 GB, free: 5.973 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.8673, allocations: 6.832 MB / 0.9055 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.8678, allocations: 478.3 kB / 0.906 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009256/0.8687, allocations: 279 kB / 0.9062 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.8694, allocations: 431.2 kB / 0.9066 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.8694, allocations: 0 / 0.9066 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0681/0.9375, allocations: 24.68 MB / 0.9307 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.01, allocations: 7.797 kB / 0.9308 GB, free: 5.398 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: 19.207843341864645] Failed to read output from testmodel.py, exit status != 0: 15.245909030083567 15.27607809 14.481682086 Calling exit ...