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.001306/0.001306, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001683/0.001683, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.805 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.8418/0.8418, allocations: 134 MB / 446.4 MB, free: 9.902 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.002/0.002, allocations: 70.88 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 85.91 MB / 0.7023 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006203/0.1796, allocations: 3.87 MB / 0.7061 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.549/0.7286, allocations: 132.6 MB / 0.8356 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.7293, allocations: 25.22 kB / 0.8356 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.7298, allocations: 177 kB / 0.8358 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.7313, allocations: 0.5038 MB / 0.8363 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.7331, allocations: 0.8393 MB / 0.8371 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.7343, allocations: 1.228 MB / 0.8383 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007208/0.735, allocations: 446.1 kB / 0.8387 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.7357, allocations: 475.9 kB / 0.8392 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.7362, allocations: 422.1 kB / 0.8396 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.7364, allocations: 108 kB / 0.8397 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.7373, allocations: 485.5 kB / 0.8401 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.7376, allocations: 283.1 kB / 0.8404 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.738, allocations: 417.8 kB / 0.8408 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.7399, allocations: 1.566 MB / 0.8423 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7399, allocations: 0 / 0.8423 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.185e-06/0.7399, allocations: 0 / 0.8423 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.7399, allocations: 0 / 0.8423 GB, free: 3.926 MB / 0.6075 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.002242/0.7422, allocations: 1.343 MB / 0.8437 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7422, allocations: 8.031 kB / 0.8437 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.7424, allocations: 131.3 kB / 0.8438 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.7441, allocations: 280 kB / 0.844 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.7453, allocations: 0.6876 MB / 0.8447 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.7454, allocations: 69.98 kB / 0.8448 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.7455, allocations: 76 kB / 0.8449 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.7472, allocations: 1.172 MB / 0.846 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.7473, allocations: 0 / 0.846 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.7473, allocations: 36 kB / 0.846 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.7474, allocations: 23.66 kB / 0.8461 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.7492, allocations: 1.077 MB / 0.8471 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.7532, allocations: 2.408 MB / 0.8495 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.7548, allocations: 0.7299 MB / 0.8502 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.7553, allocations: 258.6 kB / 0.8504 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/0.7553, allocations: 28.56 kB / 0.8505 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000836/0.7562, allocations: 0.5216 MB / 0.851 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.585e-06/0.7562, allocations: 0 / 0.851 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.002961/0.7591, allocations: 1.026 MB / 0.852 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7593, allocations: 192.6 kB / 0.8521 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008222/0.7601, allocations: 0.6175 MB / 0.8527 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.7601, allocations: 41.7 kB / 0.8528 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.7605, allocations: 400.8 kB / 0.8532 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.7607, allocations: 261.9 kB / 0.8534 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.7609, allocations: 134.2 kB / 0.8535 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.7611, allocations: 390.7 kB / 0.8539 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.7616, allocations: 213.2 kB / 0.8541 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.7622, allocations: 477.9 kB / 0.8546 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.7633, allocations: 0.5536 MB / 0.8551 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7633, allocations: 4 kB / 0.8551 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001786/0.7651, allocations: 0.7473 MB / 0.8559 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.7651, allocations: 8 kB / 0.8559 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.7651, allocations: 3.984 kB / 0.8559 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.7657, allocations: 84.97 kB / 0.8559 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.7663, allocations: 147.7 kB / 0.8561 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.7685, allocations: 1.504 MB / 0.8576 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.7692, allocations: 83.55 kB / 0.8576 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.7693, allocations: 27.98 kB / 0.8577 GB, free: 3.617 MB / 0.6231 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.0005551/0.7699, allocations: 262.9 kB / 0.8579 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.7701, allocations: 79.48 kB / 0.858 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7724, allocations: 0.9929 MB / 0.859 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7724, allocations: 11.75 kB / 0.859 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7724, allocations: 7.875 kB / 0.859 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.7724, allocations: 3.984 kB / 0.859 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.776, allocations: 1.748 MB / 0.8607 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.776, allocations: 0 / 0.8607 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.7765, allocations: 147.8 kB / 0.8608 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.777, allocations: 72.78 kB / 0.8609 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.777, allocations: 23.98 kB / 0.8609 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.7791, allocations: 1.547 MB / 0.8624 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7791, allocations: 0 / 0.8624 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.781, allocations: 0.9281 MB / 0.8633 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.7815, allocations: 187.1 kB / 0.8635 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.7816, allocations: 12 kB / 0.8635 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.7822, allocations: 55.94 kB / 0.8636 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7823, allocations: 68.88 kB / 0.8636 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.7824, allocations: 31.98 kB / 0.8637 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006034/0.783, allocations: 451 kB / 0.8641 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.783, allocations: 0 / 0.8641 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008242/0.7838, allocations: 291.2 kB / 0.8644 GB, free: 12.52 MB / 0.6387 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.004135/0.7879, allocations: 1.998 MB / 0.8663 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.7895, allocations: 0.7202 MB / 0.867 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7895, allocations: 0 / 0.867 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.7904, allocations: 468.2 kB / 0.8675 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7917, allocations: 307.9 kB / 0.8678 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.8025, allocations: 6.06 MB / 0.8737 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.803, allocations: 430.4 kB / 0.8741 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008368/0.8038, allocations: 254.5 kB / 0.8744 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.8044, allocations: 367.3 kB / 0.8747 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.8044, allocations: 0 / 0.8747 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/0.8699, allocations: 22.32 MB / 0.8965 GB, free: 11.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.78, allocations: 12.05 kB / 0.8965 GB, free: 11.9 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.47831775760278] Failed to read output from testmodel.py, exit status != 0: 14.00838079629466 14.035366027 13.290593311 Calling exit ...