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.001391/0.001391, allocations: 110 kB / 16.46 MB, free: 6.453 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.001498/0.001498, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.8793/0.8793, allocations: 134 MB / 442.8 MB, free: 11.34 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.001936/0.001936, allocations: 66.39 kB / 0.6134 GB, free: 8.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1764, allocations: 85.85 MB / 0.6972 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006599/0.183, allocations: 4.252 MB / 0.7014 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5685/0.7515, allocations: 153.9 MB / 0.8517 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007657/0.7523, allocations: 23.81 kB / 0.8517 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.7529, allocations: 173.4 kB / 0.8518 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.7546, allocations: 0.4963 MB / 0.8523 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.7566, allocations: 0.8305 MB / 0.8531 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.7582, allocations: 1.23 MB / 0.8543 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008401/0.759, allocations: 477.4 kB / 0.8548 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007414/0.7598, allocations: 474.3 kB / 0.8553 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.7604, allocations: 473.8 kB / 0.8557 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.7606, allocations: 104 kB / 0.8558 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.7616, allocations: 0.4971 MB / 0.8563 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.7619, allocations: 275.1 kB / 0.8566 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.7624, allocations: 0.5207 MB / 0.8571 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.7646, allocations: 1.558 MB / 0.8586 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7646, allocations: 0 / 0.8586 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7646, allocations: 0 / 0.8586 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.7646, allocations: 0 / 0.8586 GB, free: 3.234 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.002593/0.7672, allocations: 1.414 MB / 0.86 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.7672, allocations: 9.109 kB / 0.86 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.7674, allocations: 131.3 kB / 0.8601 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.7693, allocations: 280 kB / 0.8604 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.7705, allocations: 0.7547 MB / 0.8611 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.888e-05/0.7706, allocations: 59.03 kB / 0.8612 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.7707, allocations: 80 kB / 0.8612 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.7724, allocations: 0.9286 MB / 0.8621 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7724, allocations: 0 / 0.8621 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.7725, allocations: 36 kB / 0.8622 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.7725, allocations: 24 kB / 0.8622 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.7746, allocations: 1.112 MB / 0.8633 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.7789, allocations: 2.677 MB / 0.8659 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.7807, allocations: 0.8117 MB / 0.8667 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005306/0.7812, allocations: 258.8 kB / 0.8669 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.7813, allocations: 36.67 kB / 0.867 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000853/0.7821, allocations: 427.3 kB / 0.8674 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.7821, allocations: 0 / 0.8674 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74): time 0.003365/0.7855, allocations: 1.094 MB / 0.8684 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7856, allocations: 188.6 kB / 0.8686 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.7866, allocations: 0.6213 MB / 0.8692 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.7866, allocations: 39.95 kB / 0.8693 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.787, allocations: 400.9 kB / 0.8697 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.7873, allocations: 261.8 kB / 0.8699 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.7875, allocations: 142.2 kB / 0.87 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.7877, allocations: 382.7 kB / 0.8704 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.7882, allocations: 221.2 kB / 0.8706 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.7889, allocations: 341.3 kB / 0.8709 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.79, allocations: 0.5614 MB / 0.8715 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.79, allocations: 0 / 0.8715 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002057/0.7921, allocations: 0.7474 MB / 0.8722 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.7921, allocations: 4 kB / 0.8722 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.7921, allocations: 4.5 kB / 0.8722 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.7928, allocations: 80.97 kB / 0.8723 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.7935, allocations: 151.7 kB / 0.8724 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.7961, allocations: 1.638 MB / 0.874 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/0.7968, allocations: 79.61 kB / 0.8741 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.7969, allocations: 31.92 kB / 0.8742 GB, free: 2.688 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.0004736/0.7973, allocations: 261.5 kB / 0.8744 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.7975, allocations: 84.61 kB / 0.8745 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.8, allocations: 0.9841 MB / 0.8754 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8, allocations: 8 kB / 0.8755 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8, allocations: 3.938 kB / 0.8755 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.8, allocations: 7.969 kB / 0.8755 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.8038, allocations: 1.924 MB / 0.8773 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.8038, allocations: 4 kB / 0.8773 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.8045, allocations: 147.8 kB / 0.8775 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.805, allocations: 72.78 kB / 0.8776 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.805, allocations: 27.97 kB / 0.8776 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.8073, allocations: 1.655 MB / 0.8792 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8073, allocations: 0 / 0.8792 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.8096, allocations: 0.928 MB / 0.8801 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.8102, allocations: 268.1 kB / 0.8804 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.8103, allocations: 16 kB / 0.8804 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.8109, allocations: 55.94 kB / 0.8804 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.8111, allocations: 60.91 kB / 0.8805 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/0.8112, allocations: 27.98 kB / 0.8805 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00077/0.812, allocations: 447 kB / 0.8809 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.812, allocations: 8 kB / 0.881 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009809/0.813, allocations: 303.1 kB / 0.8812 GB, free: 11.16 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.004503/0.8175, allocations: 1.955 MB / 0.8831 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.8198, allocations: 0.7161 MB / 0.8838 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8198, allocations: 0 / 0.8838 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.8209, allocations: 472.4 kB / 0.8843 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.8226, allocations: 298.7 kB / 0.8846 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.8349, allocations: 6.064 MB / 0.8905 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/0.8356, allocations: 1.009 MB / 0.8915 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009293/0.8366, allocations: 259.5 kB / 0.8917 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/0.8372, allocations: 371.3 kB / 0.8921 GB, free: 92 kB / 0.6544 GB Notification: Performance of SimCode: time 1.532e-06/0.8372, allocations: 0 / 0.8921 GB, free: 92 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/0.9032, allocations: 20.82 MB / 0.9124 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.23, allocations: 3.938 kB / 0.9124 GB, free: 11.46 MB / 0.6856 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 & 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.17945890100964] Failed to read output from testmodel.py, exit status != 0: 14.436413453993737 14.459912274 13.690867005 Calling exit ...