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.0007239/0.0007239, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007319/0.0007319, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9335/0.9335, allocations: 230.6 MB / 256 MB, free: 9.59 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.7911/0.7911, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.000935/0.000935, allocations: 70.11 kB / 0.7181 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.5468, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005553/0.5524, allocations: 4.494 MB / 0.8222 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.137/0.6894, allocations: 132.7 MB / 0.9518 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008312/0.6902, allocations: 23.81 kB / 0.9518 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.6907, allocations: 202.1 kB / 0.952 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.6923, allocations: 0.5698 MB / 0.9526 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.6943, allocations: 0.8804 MB / 0.9534 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.6956, allocations: 1.444 MB / 0.9548 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.6962, allocations: 414 kB / 0.9552 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007635/0.6969, allocations: 0.5139 MB / 0.9557 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.6976, allocations: 489.6 kB / 0.9562 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.6977, allocations: 116 kB / 0.9563 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.6986, allocations: 499.6 kB / 0.9568 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.6988, allocations: 303 kB / 0.9571 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.6991, allocations: 481.7 kB / 0.9575 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.7009, allocations: 1.73 MB / 0.9592 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7009, allocations: 0 / 0.9592 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7009, allocations: 0 / 0.9592 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.701, allocations: 0 / 0.9592 GB, free: 4.387 MB / 0.7292 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.001867/0.7028, allocations: 1.443 MB / 0.9606 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7029, allocations: 8.031 kB / 0.9606 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.703, allocations: 143.6 kB / 0.9608 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.704, allocations: 291.9 kB / 0.961 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.7049, allocations: 0.7218 MB / 0.9618 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.7049, allocations: 66 kB / 0.9618 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.705, allocations: 87.94 kB / 0.9619 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.7062, allocations: 1.234 MB / 0.9631 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.7062, allocations: 4 kB / 0.9631 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.7062, allocations: 36 kB / 0.9631 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.7062, allocations: 24 kB / 0.9632 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.7074, allocations: 1.112 MB / 0.9643 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.71, allocations: 2.545 MB / 0.9667 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7112, allocations: 0.8235 MB / 0.9675 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.7115, allocations: 278.7 kB / 0.9678 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.7116, allocations: 28.62 kB / 0.9678 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.7121, allocations: 0.6061 MB / 0.9684 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=83): time 2.064e-06/0.7121, allocations: 4 kB / 0.9684 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=83): time 0.001836/0.714, allocations: 1.153 MB / 0.9696 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.714, allocations: 200.9 kB / 0.9697 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.7146, allocations: 0.6606 MB / 0.9704 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.7146, allocations: 45.7 kB / 0.9704 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.7148, allocations: 417 kB / 0.9708 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.715, allocations: 285.6 kB / 0.9711 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.7151, allocations: 158.5 kB / 0.9713 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7152, allocations: 390.8 kB / 0.9716 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.7156, allocations: 253.9 kB / 0.9719 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.716, allocations: 0.5094 MB / 0.9724 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.7167, allocations: 0.615 MB / 0.973 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7167, allocations: 0 / 0.973 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001111/0.7178, allocations: 0.8453 MB / 0.9738 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7178, allocations: 8.031 kB / 0.9738 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7178, allocations: 7.938 kB / 0.9738 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003058/0.7181, allocations: 80.78 kB / 0.9739 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.7185, allocations: 163.7 kB / 0.974 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.7197, allocations: 1.523 MB / 0.9755 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.7201, allocations: 91.47 kB / 0.9756 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.7201, allocations: 35.97 kB / 0.9757 GB, free: 2.934 MB / 0.7448 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.0002698/0.7204, allocations: 269.7 kB / 0.9759 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.7205, allocations: 87.44 kB / 0.976 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.7219, allocations: 1.093 MB / 0.9771 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.7219, allocations: 12 kB / 0.9771 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.7219, allocations: 0 / 0.9771 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7219, allocations: 7.969 kB / 0.9771 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.7241, allocations: 1.908 MB / 0.9789 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7241, allocations: 0 / 0.9789 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.7244, allocations: 155.7 kB / 0.9791 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.7246, allocations: 72.78 kB / 0.9792 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.7247, allocations: 23.98 kB / 0.9792 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.7258, allocations: 1.547 MB / 0.9807 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7258, allocations: 0 / 0.9807 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.727, allocations: 1.03 MB / 0.9817 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.7272, allocations: 203 kB / 0.9819 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.7273, allocations: 20 kB / 0.9819 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.7276, allocations: 70.03 kB / 0.982 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7277, allocations: 80.8 kB / 0.9821 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.7278, allocations: 35.97 kB / 0.9821 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003967/0.7281, allocations: 479 kB / 0.9825 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7281, allocations: 0 / 0.9825 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000607/0.7288, allocations: 331.1 kB / 0.9829 GB, free: 11.33 MB / 0.7605 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.002369/0.7311, allocations: 2.112 MB / 0.9849 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.7322, allocations: 0.796 MB / 0.9857 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7322, allocations: 0 / 0.9857 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.7327, allocations: 0.4967 MB / 0.9862 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.7335, allocations: 322.1 kB / 0.9865 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/0.7403, allocations: 6.447 MB / 0.9928 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.7406, allocations: 453 kB / 0.9932 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005057/0.7411, allocations: 271 kB / 0.9935 GB, free: 484 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.7415, allocations: 403.3 kB / 0.9939 GB, free: 80 kB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.7415, allocations: 0 / 0.9939 GB, free: 80 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/0.7802, allocations: 24.32 MB / 1.018 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.115, allocations: 18.86 kB / 1.018 GB, free: 7.977 MB / 0.7917 GB " [Timeout remaining time 651] (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.17632700689137] Failed to read output from testmodel.py, exit status != 0: 9.264147363137454 9.272367539 8.569583064 Calling exit ...