Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001352/0.001352, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001597/0.001597, allocations: 215.1 kB / 22.25 MB, free: 5.082 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8349/0.8349, allocations: 134 MB / 446.4 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002046/0.002046, allocations: 66.97 kB / 0.6185 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1572, allocations: 85.91 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00615/0.1633, allocations: 4.291 MB / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5284/0.6917, allocations: 154 MB / 0.857 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.6924, allocations: 23.81 kB / 0.857 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.6929, allocations: 176.4 kB / 0.8572 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.6945, allocations: 0.4949 MB / 0.8577 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.6964, allocations: 0.8559 MB / 0.8585 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.6979, allocations: 1.238 MB / 0.8597 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007468/0.6986, allocations: 462 kB / 0.8602 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006619/0.6993, allocations: 478.3 kB / 0.8606 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006129/0.6999, allocations: 473.8 kB / 0.8611 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.7, allocations: 104 kB / 0.8612 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.701, allocations: 0.5045 MB / 0.8617 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.7013, allocations: 279.1 kB / 0.8619 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.7018, allocations: 0.5129 MB / 0.8624 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.7039, allocations: 1.555 MB / 0.864 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7039, allocations: 4 kB / 0.864 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7039, allocations: 4 kB / 0.864 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.7039, allocations: 0 / 0.864 GB, free: 1.133 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002373/0.7063, allocations: 1.338 MB / 0.8653 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7063, allocations: 8.031 kB / 0.8653 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.7065, allocations: 135.3 kB / 0.8654 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.7083, allocations: 280 kB / 0.8657 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.7096, allocations: 0.6846 MB / 0.8663 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.7096, allocations: 62 kB / 0.8664 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.7097, allocations: 80 kB / 0.8665 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.7114, allocations: 0.9247 MB / 0.8674 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.7114, allocations: 0 / 0.8674 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.7115, allocations: 43.98 kB / 0.8674 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.7115, allocations: 24 kB / 0.8674 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.7134, allocations: 1.104 MB / 0.8685 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/0.7177, allocations: 2.617 MB / 0.8711 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.7192, allocations: 0.7396 MB / 0.8718 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.7197, allocations: 254.6 kB / 0.872 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.7198, allocations: 36.67 kB / 0.8721 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007937/0.7206, allocations: 431.8 kB / 0.8725 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=74): time 2.104e-06/0.7206, allocations: 0 / 0.8725 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74): time 0.003031/0.7236, allocations: 1.017 MB / 0.8735 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.7238, allocations: 192.6 kB / 0.8737 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.7246, allocations: 0.6214 MB / 0.8743 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.7247, allocations: 37.7 kB / 0.8743 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.725, allocations: 404.8 kB / 0.8747 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.7252, allocations: 253.8 kB / 0.8749 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.7255, allocations: 146.2 kB / 0.8751 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.7257, allocations: 382.8 kB / 0.8754 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.7261, allocations: 221.2 kB / 0.8757 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.7267, allocations: 349 kB / 0.876 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.7277, allocations: 0.5497 MB / 0.8765 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7277, allocations: 0 / 0.8765 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00186/0.7296, allocations: 0.7551 MB / 0.8773 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7296, allocations: 4 kB / 0.8773 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7296, allocations: 4 kB / 0.8773 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.7302, allocations: 84.95 kB / 0.8773 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.7308, allocations: 147.8 kB / 0.8775 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.733, allocations: 1.531 MB / 0.879 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.7337, allocations: 81.27 kB / 0.8791 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.7337, allocations: 31.98 kB / 0.8791 GB, free: 1.141 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004453/0.7342, allocations: 249.8 kB / 0.8793 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7344, allocations: 79.48 kB / 0.8794 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.7366, allocations: 0.9966 MB / 0.8804 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7366, allocations: 12 kB / 0.8804 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7366, allocations: 0 / 0.8804 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.7367, allocations: 3.984 kB / 0.8804 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.7401, allocations: 1.903 MB / 0.8823 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7401, allocations: 0 / 0.8823 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.7407, allocations: 147.8 kB / 0.8824 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.7411, allocations: 76.72 kB / 0.8825 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.7412, allocations: 23.98 kB / 0.8825 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.7432, allocations: 1.555 MB / 0.884 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7432, allocations: 0 / 0.884 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.7451, allocations: 0.9244 MB / 0.8849 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.7455, allocations: 187.1 kB / 0.8851 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7456, allocations: 19.94 kB / 0.8851 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/0.7462, allocations: 56.64 kB / 0.8852 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.7463, allocations: 64.88 kB / 0.8852 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.7463, allocations: 31.92 kB / 0.8853 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005998/0.7469, allocations: 451 kB / 0.8857 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7469, allocations: 0 / 0.8857 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008347/0.7478, allocations: 299.2 kB / 0.886 GB, free: 9.871 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004033/0.7518, allocations: 1.964 MB / 0.8879 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7535, allocations: 0.7124 MB / 0.8886 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7535, allocations: 4 kB / 0.8886 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/0.7544, allocations: 472.1 kB / 0.889 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7557, allocations: 304.8 kB / 0.8893 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.7666, allocations: 6.048 MB / 0.8952 GB, free: 448 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.7673, allocations: 1.019 MB / 0.8962 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008208/0.7681, allocations: 262.5 kB / 0.8965 GB, free: 15.13 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.7686, allocations: 371.2 kB / 0.8968 GB, free: 14.77 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.7686, allocations: 0 / 0.8968 GB, free: 14.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/0.8336, allocations: 21.37 MB / 0.9177 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.56, allocations: 10.22 kB / 0.9177 GB, free: 9.543 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.315376072001527] Failed to read output from testmodel.py, exit status != 0: 14.78587198099558 14.802371666 14.094955191 Calling exit ...