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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 193.7 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8222/0.8222, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64 kB / 0.5048 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1346, allocations: 80.93 MB / 0.5838 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005239/0.1399, allocations: 4.189 MB / 0.5879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3609/0.5008, allocations: 148.2 MB / 0.7326 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.5015, allocations: 19.56 kB / 0.7326 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.5021, allocations: 131.7 kB / 0.7328 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.5036, allocations: 406.8 kB / 0.7331 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.5055, allocations: 0.7049 MB / 0.7338 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.5068, allocations: 1.127 MB / 0.7349 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009227/0.5077, allocations: 0.6206 MB / 0.7355 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.5084, allocations: 387.8 kB / 0.7359 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/0.509, allocations: 433.5 kB / 0.7363 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.5092, allocations: 52.31 kB / 0.7364 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008082/0.51, allocations: 398.1 kB / 0.7367 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.5103, allocations: 217.3 kB / 0.737 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.5107, allocations: 466.1 kB / 0.7374 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.5119, allocations: 1.416 MB / 0.7388 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5119, allocations: 3.984 kB / 0.7388 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5119, allocations: 0 / 0.7388 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5119, allocations: 1.688 kB / 0.7388 GB, free: 10.92 MB / 0.5606 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.001952/0.5139, allocations: 1.357 MB / 0.7401 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5139, allocations: 10.28 kB / 0.7401 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.5141, allocations: 133.3 kB / 0.7402 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5152, allocations: 222.7 kB / 0.7405 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.5161, allocations: 0.7134 MB / 0.7412 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.5161, allocations: 64 kB / 0.7412 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5162, allocations: 81.19 kB / 0.7413 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5177, allocations: 0.923 MB / 0.7422 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5177, allocations: 0 / 0.7422 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.5178, allocations: 33.62 kB / 0.7422 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5178, allocations: 20.62 kB / 0.7422 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.5195, allocations: 1.112 MB / 0.7433 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.5228, allocations: 2.69 MB / 0.746 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.5242, allocations: 0.8558 MB / 0.7468 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.5247, allocations: 281.4 kB / 0.7471 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/0.5247, allocations: 32.16 kB / 0.7471 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007075/0.5254, allocations: 428.7 kB / 0.7475 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 4.649e-06/0.5255, allocations: 0 / 0.7475 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002678/0.5281, allocations: 1.088 MB / 0.7486 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.5282, allocations: 192.6 kB / 0.7488 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.5289, allocations: 0.5862 MB / 0.7493 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.5289, allocations: 41.7 kB / 0.7494 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.5292, allocations: 388.1 kB / 0.7497 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5294, allocations: 248.5 kB / 0.75 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.5296, allocations: 138.2 kB / 0.7501 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5297, allocations: 390.6 kB / 0.7505 GB, free: 2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.5302, allocations: 217.2 kB / 0.7507 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.5308, allocations: 341.4 kB / 0.751 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.5317, allocations: 0.5575 MB / 0.7516 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5317, allocations: 3.938 kB / 0.7516 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001596/0.5333, allocations: 0.7409 MB / 0.7523 GB, free: 88 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5334, allocations: 8 kB / 0.7523 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5334, allocations: 4.969 kB / 0.7523 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.534, allocations: 84.95 kB / 0.7524 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.5346, allocations: 143.7 kB / 0.7525 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.5364, allocations: 1.52 MB / 0.754 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.5369, allocations: 84.34 kB / 0.7541 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.537, allocations: 31.58 kB / 0.7541 GB, free: 14.08 MB / 0.5762 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.0003033/0.5373, allocations: 253.7 kB / 0.7543 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5374, allocations: 79 kB / 0.7544 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.5395, allocations: 0.9843 MB / 0.7554 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.5395, allocations: 8 kB / 0.7554 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.5395, allocations: 4 kB / 0.7554 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5396, allocations: 3.984 kB / 0.7554 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.5424, allocations: 1.915 MB / 0.7573 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5424, allocations: 3.938 kB / 0.7573 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.543, allocations: 151.9 kB / 0.7574 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.5435, allocations: 84.77 kB / 0.7575 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.5435, allocations: 19.98 kB / 0.7575 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.5451, allocations: 1.548 MB / 0.759 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5451, allocations: 0 / 0.759 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.5468, allocations: 0.9141 MB / 0.7599 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.5471, allocations: 251.8 kB / 0.7602 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.5472, allocations: 16 kB / 0.7602 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.5477, allocations: 67.81 kB / 0.7602 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5478, allocations: 64.91 kB / 0.7603 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.5479, allocations: 27.98 kB / 0.7603 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004444/0.5484, allocations: 431 kB / 0.7607 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5484, allocations: 0 / 0.7607 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007365/0.5491, allocations: 299.1 kB / 0.761 GB, free: 6.723 MB / 0.5762 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.002924/0.552, allocations: 1.955 MB / 0.7629 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.5534, allocations: 0.7356 MB / 0.7637 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5534, allocations: 0 / 0.7637 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.5541, allocations: 484.3 kB / 0.7641 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5552, allocations: 277.3 kB / 0.7644 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.5654, allocations: 6.532 MB / 0.7708 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.5659, allocations: 1.011 MB / 0.7717 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007433/0.5666, allocations: 262.3 kB / 0.772 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.5671, allocations: 359.2 kB / 0.7723 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.5671, allocations: 0 / 0.7723 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.6268, allocations: 19.55 MB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003498/0.6271, allocations: 285.7 kB / 0.7917 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.998, allocations: 4 kB / 0.7917 GB, free: 7.559 MB / 0.6075 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)