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.0008409/0.0008409, allocations: 105.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.001167/0.001167, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9503/0.9503, allocations: 230.6 MB / 256 MB, free: 9.449 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.7886/0.7886, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0009779/0.0009779, allocations: 70.91 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5177, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004715/0.5224, allocations: 4.497 MB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.6522, allocations: 132.7 MB / 0.9518 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.6534, allocations: 23.81 kB / 0.9518 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.6542, allocations: 198.2 kB / 0.952 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.656, allocations: 0.5799 MB / 0.9526 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.6579, allocations: 0.8716 MB / 0.9534 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.6593, allocations: 1.444 MB / 0.9548 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.6598, allocations: 410 kB / 0.9552 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.6605, allocations: 0.5256 MB / 0.9557 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.6611, allocations: 481.6 kB / 0.9562 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.6612, allocations: 116 kB / 0.9563 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.6623, allocations: 499.6 kB / 0.9568 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.6625, allocations: 307 kB / 0.9571 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.6629, allocations: 481.7 kB / 0.9575 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.6649, allocations: 1.722 MB / 0.9592 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6649, allocations: 0 / 0.9592 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.756e-06/0.6649, allocations: 4 kB / 0.9592 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.6649, allocations: 0 / 0.9592 GB, free: 4.332 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.001999/0.6669, allocations: 1.447 MB / 0.9606 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6669, allocations: 12.03 kB / 0.9606 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.6671, allocations: 135.7 kB / 0.9608 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.6681, allocations: 291.9 kB / 0.961 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009107/0.669, allocations: 0.7218 MB / 0.9617 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.669, allocations: 66 kB / 0.9618 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.6691, allocations: 84 kB / 0.9619 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.6703, allocations: 1.242 MB / 0.9631 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.6704, allocations: 0 / 0.9631 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.6704, allocations: 36 kB / 0.9631 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6704, allocations: 31.98 kB / 0.9632 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.6716, allocations: 1.12 MB / 0.9643 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.6745, allocations: 2.533 MB / 0.9667 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.6755, allocations: 0.8273 MB / 0.9675 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.6759, allocations: 286.7 kB / 0.9678 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.6759, allocations: 20.64 kB / 0.9678 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.6765, allocations: 0.5983 MB / 0.9684 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=83): time 2.284e-06/0.6765, allocations: 0 / 0.9684 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=83): time 0.001892/0.6784, allocations: 1.168 MB / 0.9696 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.6785, allocations: 192.9 kB / 0.9697 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.6791, allocations: 0.6645 MB / 0.9704 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.6791, allocations: 45.7 kB / 0.9704 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.6794, allocations: 421 kB / 0.9708 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.6795, allocations: 281.6 kB / 0.9711 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.6797, allocations: 158.5 kB / 0.9713 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6798, allocations: 386.8 kB / 0.9716 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.6801, allocations: 253.9 kB / 0.9719 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/0.6809, allocations: 0.5054 MB / 0.9724 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.6816, allocations: 0.6228 MB / 0.973 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6816, allocations: 0 / 0.973 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001165/0.6828, allocations: 0.8412 MB / 0.9738 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6828, allocations: 4 kB / 0.9738 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6828, allocations: 8.125 kB / 0.9738 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.6831, allocations: 84.77 kB / 0.9739 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.6835, allocations: 163.7 kB / 0.974 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.6849, allocations: 1.525 MB / 0.9755 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.6853, allocations: 99.62 kB / 0.9756 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.6854, allocations: 27.98 kB / 0.9756 GB, free: 2.875 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.0003642/0.6858, allocations: 278.3 kB / 0.9759 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.6859, allocations: 91.44 kB / 0.976 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.6872, allocations: 1.085 MB / 0.9771 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.6873, allocations: 16 kB / 0.9771 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.6873, allocations: 0 / 0.9771 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6873, allocations: 3.984 kB / 0.9771 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.6896, allocations: 1.908 MB / 0.9789 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6896, allocations: 0 / 0.9789 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.6899, allocations: 151.7 kB / 0.9791 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.6902, allocations: 72.78 kB / 0.9792 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.6902, allocations: 27.98 kB / 0.9792 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.6913, allocations: 1.555 MB / 0.9807 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6913, allocations: 0 / 0.9807 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.6925, allocations: 1.026 MB / 0.9817 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.6928, allocations: 207 kB / 0.9819 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.6929, allocations: 16 kB / 0.9819 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.6932, allocations: 63.94 kB / 0.982 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.6933, allocations: 84.78 kB / 0.9821 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.6933, allocations: 35.98 kB / 0.9821 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004211/0.6938, allocations: 479 kB / 0.9826 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6938, allocations: 0 / 0.9826 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007151/0.6945, allocations: 331.1 kB / 0.9829 GB, free: 11.26 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.002378/0.6969, allocations: 2.1 MB / 0.9849 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.698, allocations: 0.8041 MB / 0.9857 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.698, allocations: 0 / 0.9857 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008271/0.6988, allocations: 0.4924 MB / 0.9862 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.6996, allocations: 326.4 kB / 0.9865 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.7067, allocations: 6.447 MB / 0.9928 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.7073, allocations: 449 kB / 0.9932 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000628/0.708, allocations: 271 kB / 0.9935 GB, free: 428 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.7084, allocations: 403.3 kB / 0.9939 GB, free: 24 kB / 0.7605 GB Notification: Performance of SimCode: time 1.593e-06/0.7084, allocations: 0 / 0.9939 GB, free: 24 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/0.7515, allocations: 24.33 MB / 1.018 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.703, allocations: 4.062 kB / 1.018 GB, free: 7.934 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 11.686770166736096] Failed to read output from testmodel.py, exit status != 0: 8.85882008401677 8.869819941 8.203108412 Calling exit ...