Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008175/0.0008175, allocations: 109.3 kB / 18.93 MB, free: 1.273 MB / 13.93 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.0008757/0.0008757, allocations: 218.2 kB / 22.25 MB, free: 3.699 MB / 13.93 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 0.9974/0.9974, allocations: 230.6 MB / 256 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8256/0.8256, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_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.0009218/0.0009218, allocations: 71.28 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5488, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00545/0.5542, allocations: 5.046 MB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.7009, allocations: 154.2 MB / 0.9733 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.7019, allocations: 27.81 kB / 0.9733 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.7025, allocations: 202.2 kB / 0.9735 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.7043, allocations: 0.5724 MB / 0.9741 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.7064, allocations: 0.8979 MB / 0.975 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.708, allocations: 1.444 MB / 0.9764 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.7087, allocations: 429.9 kB / 0.9768 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007584/0.7094, allocations: 0.5256 MB / 0.9773 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.7101, allocations: 0.529 MB / 0.9778 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.7103, allocations: 123.9 kB / 0.9779 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.7116, allocations: 0.5152 MB / 0.9784 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006656/0.7123, allocations: 307 kB / 0.9787 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004871/0.7128, allocations: 0.5752 MB / 0.9793 GB, free: 76 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.7148, allocations: 1.714 MB / 0.981 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.7148, allocations: 0 / 0.981 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7148, allocations: 4 kB / 0.981 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.7148, allocations: 0 / 0.981 GB, free: 14.35 MB / 0.7605 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.002335/0.7172, allocations: 1.451 MB / 0.9824 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.7172, allocations: 8.031 kB / 0.9824 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.7174, allocations: 143.6 kB / 0.9825 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.7183, allocations: 279.9 kB / 0.9828 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.7194, allocations: 0.7296 MB / 0.9835 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.7194, allocations: 66 kB / 0.9836 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.7195, allocations: 84 kB / 0.9837 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.7207, allocations: 0.9833 MB / 0.9846 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.7207, allocations: 4 kB / 0.9846 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.7208, allocations: 40 kB / 0.9847 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.7208, allocations: 20 kB / 0.9847 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.7224, allocations: 1.163 MB / 0.9858 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.7254, allocations: 3.026 MB / 0.9888 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.7265, allocations: 0.8281 MB / 0.9896 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.7268, allocations: 286.7 kB / 0.9899 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.7269, allocations: 32.61 kB / 0.9899 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/0.7275, allocations: 0.4979 MB / 0.9904 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=83): time 1.923e-06/0.7275, allocations: 0 / 0.9904 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83): time 0.001938/0.7294, allocations: 1.157 MB / 0.9915 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.7295, allocations: 196.9 kB / 0.9917 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.7302, allocations: 0.6568 MB / 0.9923 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.7302, allocations: 45.69 kB / 0.9924 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.7308, allocations: 432.9 kB / 0.9928 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.731, allocations: 273.7 kB / 0.993 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.7311, allocations: 150.6 kB / 0.9932 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7312, allocations: 394.7 kB / 0.9936 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.7316, allocations: 253.9 kB / 0.9938 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.7319, allocations: 381.1 kB / 0.9942 GB, free: 436 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.7327, allocations: 0.6267 MB / 0.9948 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7327, allocations: 0 / 0.9948 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001172/0.7338, allocations: 0.8569 MB / 0.9956 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.7339, allocations: 4 kB / 0.9956 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7339, allocations: 4 kB / 0.9956 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.7342, allocations: 80.83 kB / 0.9957 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.7345, allocations: 159.8 kB / 0.9959 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.7359, allocations: 1.535 MB / 0.9974 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.7364, allocations: 91.47 kB / 0.9974 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.7364, allocations: 31.97 kB / 0.9975 GB, free: 12.89 MB / 0.7761 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.0003997/0.7368, allocations: 281.6 kB / 0.9977 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.7369, allocations: 87.44 kB / 0.9978 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.7384, allocations: 1.097 MB / 0.9989 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.7384, allocations: 12 kB / 0.9989 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7384, allocations: 0 / 0.9989 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.7384, allocations: 3.984 kB / 0.9989 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.741, allocations: 2.083 MB / 1.001 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.741, allocations: 0 / 1.001 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.7414, allocations: 155.7 kB / 1.001 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.7416, allocations: 72.78 kB / 1.001 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.7416, allocations: 23.98 kB / 1.001 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.7428, allocations: 1.558 MB / 1.003 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7428, allocations: 0 / 1.003 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.7441, allocations: 1.01 MB / 1.004 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.7444, allocations: 215 kB / 1.004 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.7445, allocations: 20 kB / 1.004 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.7448, allocations: 70.53 kB / 1.004 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.745, allocations: 80.78 kB / 1.004 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.745, allocations: 35.98 kB / 1.004 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004531/0.7455, allocations: 479 kB / 1.005 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7455, allocations: 0 / 1.005 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008173/0.7463, allocations: 327.2 kB / 1.005 GB, free: 5.09 MB / 0.7761 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.002886/0.7492, allocations: 2.066 MB / 1.007 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.7503, allocations: 0.8003 MB / 1.008 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7504, allocations: 0 / 1.008 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.7509, allocations: 0.4963 MB / 1.008 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.7517, allocations: 324.8 kB / 1.008 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/0.7594, allocations: 6.447 MB / 1.015 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.7598, allocations: 1.031 MB / 1.016 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006436/0.7605, allocations: 275.1 kB / 1.016 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.7609, allocations: 403.3 kB / 1.016 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of SimCode: time 1.343e-06/0.7609, allocations: 0 / 1.016 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.8131, allocations: 23.27 MB / 1.039 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.574, allocations: 8.062 kB / 1.039 GB, free: 2.141 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.883905863156542] Failed to read output from testmodel.py, exit status != 0: 9.726714556105435 9.740897713 9.02329496 Calling exit ...