Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001768/0.001768, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.002353/0.002353, allocations: 219.1 kB / 22.99 MB, free: 4.969 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.495/1.495, 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 0.9713/0.9713, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.002277/0.002277, allocations: 66.83 kB / 0.641 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1825, allocations: 89.18 MB / 0.7281 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00711/0.1896, allocations: 4.472 MB / 0.7325 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5241/0.7137, allocations: 132.7 MB / 0.8621 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007757/0.7145, allocations: 23.81 kB / 0.8621 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.7152, allocations: 196.1 kB / 0.8623 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.7173, allocations: 0.5862 MB / 0.8629 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.7195, allocations: 0.8711 MB / 0.8637 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.7214, allocations: 1.444 MB / 0.8651 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008818/0.7223, allocations: 410 kB / 0.8655 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.7232, allocations: 0.5255 MB / 0.866 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.7239, allocations: 473.8 kB / 0.8665 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.7241, allocations: 120 kB / 0.8666 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.7252, allocations: 0.4905 MB / 0.8671 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.7255, allocations: 311 kB / 0.8674 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.7261, allocations: 485.7 kB / 0.8679 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.7284, allocations: 1.714 MB / 0.8695 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7284, allocations: 3.984 kB / 0.8695 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7284, allocations: 1.688 kB / 0.8695 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.7284, allocations: 0 / 0.8695 GB, free: 4.676 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00275/0.7312, allocations: 1.455 MB / 0.871 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7312, allocations: 12.03 kB / 0.871 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.7314, allocations: 135.7 kB / 0.8711 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.7332, allocations: 287.9 kB / 0.8714 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.7346, allocations: 0.7269 MB / 0.8721 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.7347, allocations: 66 kB / 0.8721 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7348, allocations: 84 kB / 0.8722 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.7367, allocations: 1.234 MB / 0.8734 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.7368, allocations: 4 kB / 0.8734 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.7369, allocations: 39.98 kB / 0.8735 GB, free: 468 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.7369, allocations: 24 kB / 0.8735 GB, free: 444 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.739, allocations: 1.124 MB / 0.8746 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.7433, allocations: 2.526 MB / 0.8771 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.7451, allocations: 0.8313 MB / 0.8779 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.7457, allocations: 284.3 kB / 0.8781 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.341e-05/0.7457, allocations: 28.56 kB / 0.8782 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009664/0.7467, allocations: 0.6022 MB / 0.8788 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.7467, allocations: 4 kB / 0.8788 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.003281/0.75, allocations: 1.16 MB / 0.8799 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.7501, allocations: 192.9 kB / 0.8801 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.751, allocations: 0.6606 MB / 0.8807 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.751, allocations: 41.7 kB / 0.8808 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.7514, allocations: 428.9 kB / 0.8812 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.7517, allocations: 277.6 kB / 0.8814 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.7519, allocations: 154.6 kB / 0.8816 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.7521, allocations: 386.8 kB / 0.882 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.7526, allocations: 253.9 kB / 0.8822 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/0.7534, allocations: 0.5072 MB / 0.8827 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.7546, allocations: 0.6189 MB / 0.8833 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7546, allocations: 0 / 0.8833 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002044/0.7566, allocations: 0.8503 MB / 0.8841 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7566, allocations: 8 kB / 0.8841 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.7567, allocations: 3.938 kB / 0.8841 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/0.7573, allocations: 84.8 kB / 0.8842 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.7579, allocations: 159.8 kB / 0.8844 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.7601, allocations: 1.509 MB / 0.8858 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.7608, allocations: 112.5 kB / 0.8859 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.7609, allocations: 27.98 kB / 0.886 GB, free: 3.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (92): * Single equations (assignments): 91 * 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.0004448/0.7613, allocations: 270.3 kB / 0.8862 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.7615, allocations: 95.08 kB / 0.8863 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.764, allocations: 1.09 MB / 0.8874 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.764, allocations: 12 kB / 0.8874 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.764, allocations: 0 / 0.8874 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.764, allocations: 3.984 kB / 0.8874 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.7678, allocations: 1.911 MB / 0.8893 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.7678, allocations: 5.125 kB / 0.8893 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.7684, allocations: 143.8 kB / 0.8894 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.7688, allocations: 76.78 kB / 0.8895 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.7689, allocations: 27.97 kB / 0.8895 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.7709, allocations: 1.564 MB / 0.891 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7709, allocations: 0 / 0.891 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.7731, allocations: 1.018 MB / 0.892 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.7735, allocations: 203 kB / 0.8922 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.7737, allocations: 23.98 kB / 0.8923 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.7743, allocations: 63.94 kB / 0.8923 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.7745, allocations: 72.86 kB / 0.8924 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.7746, allocations: 43.91 kB / 0.8924 GB, free: 12.41 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006344/0.7752, allocations: 475 kB / 0.8929 GB, free: 11.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7752, allocations: 0 / 0.8929 GB, free: 11.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008663/0.7761, allocations: 335.1 kB / 0.8932 GB, free: 11.62 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 (95): * Single equations (assignments): 89 * 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.004381/0.7804, allocations: 2.105 MB / 0.8953 GB, free: 9.738 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.7822, allocations: 0.7999 MB / 0.896 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7822, allocations: 0 / 0.896 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009692/0.7832, allocations: 0.4966 MB / 0.8965 GB, free: 8.418 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.7845, allocations: 332.5 kB / 0.8968 GB, free: 8.117 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.7955, allocations: 6.437 MB / 0.9031 GB, free: 1.512 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.796, allocations: 452.9 kB / 0.9036 GB, free: 1.039 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008702/0.7968, allocations: 267 kB / 0.9038 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.7975, allocations: 403.3 kB / 0.9042 GB, free: 388 kB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.7975, allocations: 0 / 0.9042 GB, free: 388 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09209/0.8896, allocations: 24.34 MB / 0.928 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.78, allocations: 4 kB / 0.928 GB, free: 8.332 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.876128753647208] Failed to read output from testmodel.py, exit status != 0: 15.017314684111625 15.034052784 14.302265298 Calling exit ...