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.001223/0.001223, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00134/0.00134, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.961 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.8063/0.8063, allocations: 134 MB / 446.4 MB, free: 10.19 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.00191/0.00191, allocations: 66.12 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1447, allocations: 85.9 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005988/0.1507, allocations: 4.276 MB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.473/0.6238, allocations: 154 MB / 0.857 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.6244, allocations: 23.81 kB / 0.857 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.6249, allocations: 176.9 kB / 0.8572 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.6263, allocations: 0.4995 MB / 0.8577 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.6281, allocations: 0.8517 MB / 0.8585 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.6293, allocations: 1.234 MB / 0.8597 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.6301, allocations: 466 kB / 0.8602 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.6306, allocations: 474.3 kB / 0.8606 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.6312, allocations: 473.8 kB / 0.8611 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.6313, allocations: 108 kB / 0.8612 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.6321, allocations: 0.5048 MB / 0.8617 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.6324, allocations: 279.1 kB / 0.8619 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006185/0.633, allocations: 0.5168 MB / 0.8624 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.6347, allocations: 1.551 MB / 0.864 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6347, allocations: 0 / 0.864 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6347, allocations: 0 / 0.864 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.6347, allocations: 0 / 0.864 GB, free: 1.141 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.00221/0.6369, allocations: 1.347 MB / 0.8653 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6369, allocations: 12.03 kB / 0.8653 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.6371, allocations: 131.3 kB / 0.8654 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.6387, allocations: 280 kB / 0.8657 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.6399, allocations: 0.6829 MB / 0.8663 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.6399, allocations: 70 kB / 0.8664 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.64, allocations: 80 kB / 0.8665 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6418, allocations: 0.917 MB / 0.8674 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6418, allocations: 0 / 0.8674 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.6419, allocations: 42.48 kB / 0.8674 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6419, allocations: 23.94 kB / 0.8674 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.6438, allocations: 1.116 MB / 0.8685 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.6478, allocations: 2.611 MB / 0.8711 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.6493, allocations: 0.7419 MB / 0.8718 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.6498, allocations: 262.6 kB / 0.8721 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.6499, allocations: 32.67 kB / 0.8721 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008171/0.6507, allocations: 431.2 kB / 0.8725 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=74): time 1.823e-06/0.6507, allocations: 0 / 0.8725 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74): time 0.002829/0.6535, allocations: 1.011 MB / 0.8735 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.6537, allocations: 196.6 kB / 0.8737 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.6545, allocations: 0.6213 MB / 0.8743 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.6545, allocations: 37.7 kB / 0.8743 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.6549, allocations: 396.9 kB / 0.8747 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.6551, allocations: 265.7 kB / 0.8749 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.6553, allocations: 138.2 kB / 0.8751 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.6555, allocations: 386.7 kB / 0.8754 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.6559, allocations: 221.2 kB / 0.8757 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.6565, allocations: 337.4 kB / 0.876 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6576, allocations: 0.5575 MB / 0.8765 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6576, allocations: 0 / 0.8765 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001731/0.6593, allocations: 0.7435 MB / 0.8773 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6593, allocations: 8 kB / 0.8773 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6593, allocations: 0 / 0.8773 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.6599, allocations: 84.95 kB / 0.8773 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.6605, allocations: 159.7 kB / 0.8775 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.6626, allocations: 1.527 MB / 0.879 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.6631, allocations: 79.47 kB / 0.8791 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.6632, allocations: 31.98 kB / 0.8791 GB, free: 1.145 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.0003446/0.6635, allocations: 249.6 kB / 0.8793 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6637, allocations: 87.55 kB / 0.8794 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.6659, allocations: 0.9893 MB / 0.8804 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6659, allocations: 12 kB / 0.8804 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6659, allocations: 3.938 kB / 0.8804 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6659, allocations: 3.984 kB / 0.8804 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.6692, allocations: 1.907 MB / 0.8823 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6692, allocations: 0 / 0.8823 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.6698, allocations: 147.8 kB / 0.8824 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.6702, allocations: 76.78 kB / 0.8825 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.6702, allocations: 19.98 kB / 0.8825 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.6722, allocations: 1.562 MB / 0.884 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6722, allocations: 4.031 kB / 0.884 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.6739, allocations: 0.9242 MB / 0.8849 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.6743, allocations: 183.1 kB / 0.8851 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.6744, allocations: 16 kB / 0.8851 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.6749, allocations: 59.94 kB / 0.8852 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.675, allocations: 64.88 kB / 0.8852 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.6751, allocations: 27.98 kB / 0.8853 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005466/0.6757, allocations: 447 kB / 0.8857 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6757, allocations: 0 / 0.8857 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007564/0.6764, allocations: 299.2 kB / 0.886 GB, free: 9.871 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.0038/0.6802, allocations: 1.965 MB / 0.8879 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6817, allocations: 0.7159 MB / 0.8886 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6817, allocations: 4.375 kB / 0.8886 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008322/0.6825, allocations: 460.3 kB / 0.889 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6837, allocations: 312.1 kB / 0.8893 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.6942, allocations: 6.06 MB / 0.8952 GB, free: 444 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.6949, allocations: 1.011 MB / 0.8962 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000732/0.6956, allocations: 262.5 kB / 0.8965 GB, free: 15.13 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.6962, allocations: 367.3 kB / 0.8968 GB, free: 14.77 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.6962, allocations: 0 / 0.8968 GB, free: 14.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/0.7595, allocations: 21.35 MB / 0.9177 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.91, allocations: 22.33 kB / 0.9177 GB, free: 9.555 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 & /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.401378863025457] Failed to read output from testmodel.py, exit status != 0: 14.136522406945005 14.165453382 13.525623239 Calling exit ...