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.001321/0.001321, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001335/0.001335, allocations: 215 kB / 20.13 MB, free: 2.949 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8201/0.8201, allocations: 133.9 MB / 443.5 MB, free: 13.84 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",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.001901/0.001901, allocations: 67.3 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1322, allocations: 85.86 MB / 0.6979 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006197/0.1384, allocations: 4.24 MB / 0.7021 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.3263, allocations: 153.9 MB / 0.8523 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000908/0.3273, allocations: 23.81 kB / 0.8524 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.3278, allocations: 174.4 kB / 0.8525 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.3295, allocations: 0.4957 MB / 0.853 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.3317, allocations: 0.8202 MB / 0.8538 GB, free: 14.76 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3331, allocations: 1.238 MB / 0.855 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.3339, allocations: 480.8 kB / 0.8555 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.3345, allocations: 474.3 kB / 0.8559 GB, free: 12.56 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.3351, allocations: 477.8 kB / 0.8564 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.3353, allocations: 108 kB / 0.8565 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.3363, allocations: 0.4956 MB / 0.857 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.3366, allocations: 275.1 kB / 0.8572 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.3371, allocations: 0.509 MB / 0.8577 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.3392, allocations: 1.559 MB / 0.8593 GB, free: 9.145 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3392, allocations: 4 kB / 0.8593 GB, free: 9.141 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3392, allocations: 0 / 0.8593 GB, free: 9.141 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.3393, allocations: 0 / 0.8593 GB, free: 9.141 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00255/0.3418, allocations: 1.418 MB / 0.8606 GB, free: 7.664 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3419, allocations: 9.703 kB / 0.8606 GB, free: 7.656 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.894e-05/0.3419, allocations: 22.19 kB / 0.8607 GB, free: 7.637 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.342, allocations: 135.3 kB / 0.8608 GB, free: 7.496 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.3439, allocations: 283.9 kB / 0.8611 GB, free: 7.219 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.345, allocations: 0.7502 MB / 0.8618 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.3451, allocations: 66 kB / 0.8619 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3452, allocations: 76 kB / 0.8619 GB, free: 6.285 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.3469, allocations: 0.9209 MB / 0.8628 GB, free: 5.312 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3469, allocations: 8 kB / 0.8628 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.347, allocations: 39.98 kB / 0.8629 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.347, allocations: 20 kB / 0.8629 GB, free: 5.246 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.349, allocations: 1.108 MB / 0.864 GB, free: 4.141 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.3531, allocations: 2.673 MB / 0.8666 GB, free: 1.387 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.3548, allocations: 0.8243 MB / 0.8674 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.3553, allocations: 254.7 kB / 0.8676 GB, free: 292 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.461e-05/0.3554, allocations: 24.62 kB / 0.8677 GB, free: 264 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3292/0.6846, allocations: 432.5 kB / 0.8681 GB, free: 169.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.6846, allocations: 0 / 0.8681 GB, free: 169.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=74): time 0.003208/0.6878, allocations: 1.09 MB / 0.8691 GB, free: 169.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.6879, allocations: 189.5 kB / 0.8693 GB, free: 169.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.6887, allocations: 0.6208 MB / 0.8699 GB, free: 169 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.6888, allocations: 38.98 kB / 0.87 GB, free: 169 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.689, allocations: 403.6 kB / 0.8704 GB, free: 168.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6892, allocations: 258.2 kB / 0.8706 GB, free: 168.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.6894, allocations: 140.9 kB / 0.8707 GB, free: 168.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6895, allocations: 382.7 kB / 0.8711 GB, free: 168.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.69, allocations: 216.8 kB / 0.8713 GB, free: 168.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.6905, allocations: 342 kB / 0.8716 GB, free: 167.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.6915, allocations: 0.558 MB / 0.8722 GB, free: 167.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6915, allocations: 1.062 kB / 0.8722 GB, free: 167.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001772/0.6933, allocations: 0.754 MB / 0.8729 GB, free: 167.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6933, allocations: 7.641 kB / 0.8729 GB, free: 167.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6933, allocations: 1.938 kB / 0.8729 GB, free: 167.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.6939, allocations: 84.03 kB / 0.873 GB, free: 167.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.6945, allocations: 146.9 kB / 0.8731 GB, free: 167.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.6964, allocations: 1.633 MB / 0.8747 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.697, allocations: 74.97 kB / 0.8748 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.697, allocations: 33.02 kB / 0.8748 GB, free: 165.7 MB / 0.67 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.0003677/0.6974, allocations: 261.5 kB / 0.8751 GB, free: 165.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6975, allocations: 81.66 kB / 0.8752 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.6998, allocations: 0.9895 MB / 0.8761 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6998, allocations: 11.41 kB / 0.8761 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6998, allocations: 4.719 kB / 0.8761 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6999, allocations: 5.188 kB / 0.8762 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.7031, allocations: 1.936 MB / 0.878 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7031, allocations: 0.6094 kB / 0.878 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.7037, allocations: 143.3 kB / 0.8782 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.7042, allocations: 74.98 kB / 0.8783 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.7042, allocations: 23.94 kB / 0.8783 GB, free: 164.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.7059, allocations: 1.664 MB / 0.8799 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7059, allocations: 4 kB / 0.8799 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.708, allocations: 0.9217 MB / 0.8808 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.7084, allocations: 263 kB / 0.8811 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7085, allocations: 17.86 kB / 0.8811 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.7091, allocations: 61.5 kB / 0.8811 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.7092, allocations: 57.34 kB / 0.8812 GB, free: 161.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/0.7093, allocations: 29.69 kB / 0.8812 GB, free: 161.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007065/0.71, allocations: 452.8 kB / 0.8816 GB, free: 161.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.71, allocations: 0 / 0.8816 GB, free: 161.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000961/0.711, allocations: 294.3 kB / 0.8819 GB, free: 161.7 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: 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.003553/0.7145, allocations: 1.97 MB / 0.8839 GB, free: 160.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.716, allocations: 0.7109 MB / 0.8845 GB, free: 160.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.716, allocations: 5.406 kB / 0.8845 GB, free: 160.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007773/0.7168, allocations: 468.5 kB / 0.885 GB, free: 160.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.718, allocations: 322.2 kB / 0.8853 GB, free: 160 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.7265, allocations: 6.045 MB / 0.8912 GB, free: 154.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.7268, allocations: 1.011 MB / 0.8922 GB, free: 153.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007059/0.7275, allocations: 261.3 kB / 0.8924 GB, free: 153.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.728, allocations: 360.6 kB / 0.8928 GB, free: 153.1 MB / 0.67 GB Notification: Performance of SimCode: time 6.22e-07/0.728, allocations: 0 / 0.8928 GB, free: 153.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.7714, allocations: 20.87 MB / 0.9132 GB, free: 132.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.64, allocations: 4.062 kB / 0.9132 GB, free: 132.5 MB / 0.67 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 17.456505737965927] Failed to read output from testmodel.py, exit status != 0: 14.15682548301993 13.901783391 13.560436743 Calling exit ...