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.0007884/0.0007886, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.006206/0.006206, allocations: 173 kB / 16.26 MB, free: 6.613 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8852/0.8852, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003243, allocations: 8.281 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 82.32 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004361/0.1536, allocations: 3.776 MB / 0.5918 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3964/0.5501, allocations: 146.6 MB / 0.7349 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008715/0.551, allocations: 18.72 kB / 0.7349 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.5518, allocations: 144.2 kB / 0.7351 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.5539, allocations: 400.3 kB / 0.7355 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.5565, allocations: 0.7026 MB / 0.7361 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001996/0.5585, allocations: 1.125 MB / 0.7372 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.5598, allocations: 0.6036 MB / 0.7378 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008283/0.5607, allocations: 311.5 kB / 0.7381 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008435/0.5615, allocations: 337.3 kB / 0.7384 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.5618, allocations: 25.64 kB / 0.7385 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.5631, allocations: 367.2 kB / 0.7388 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.5634, allocations: 171.4 kB / 0.739 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.5641, allocations: 430.2 kB / 0.7394 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.5665, allocations: 1.37 MB / 0.7407 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5665, allocations: 0 / 0.7407 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5665, allocations: 0 / 0.7407 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.5665, allocations: 0 / 0.7407 GB, free: 11.67 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.002077/0.5686, allocations: 1.155 MB / 0.7419 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5687, allocations: 10.41 kB / 0.7419 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.5689, allocations: 130.7 kB / 0.742 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.5701, allocations: 237 kB / 0.7422 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5714, allocations: 0.7287 MB / 0.7429 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.5714, allocations: 59.16 kB / 0.743 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5716, allocations: 82 kB / 0.7431 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5733, allocations: 0.9253 MB / 0.744 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.5733, allocations: 0 / 0.744 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.5734, allocations: 36.25 kB / 0.744 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5734, allocations: 24.62 kB / 0.744 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5753, allocations: 1.134 MB / 0.7451 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.5794, allocations: 2.709 MB / 0.7478 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.5809, allocations: 0.8778 MB / 0.7486 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.5814, allocations: 285.3 kB / 0.7489 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.5815, allocations: 30.2 kB / 0.7489 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.5822, allocations: 431.6 kB / 0.7493 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.405e-06/0.5822, allocations: 3.938 kB / 0.7494 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002778/0.585, allocations: 1.103 MB / 0.7504 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.5851, allocations: 192.1 kB / 0.7506 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.5859, allocations: 0.5905 MB / 0.7512 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.5859, allocations: 37.7 kB / 0.7512 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.5862, allocations: 396.1 kB / 0.7516 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.5864, allocations: 240.5 kB / 0.7518 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.5865, allocations: 57.69 kB / 0.7519 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5867, allocations: 386.7 kB / 0.7523 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.5871, allocations: 221.2 kB / 0.7525 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.5877, allocations: 345.3 kB / 0.7528 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009397/0.5886, allocations: 0.5653 MB / 0.7533 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5886, allocations: 4 kB / 0.7534 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001672/0.5903, allocations: 0.7547 MB / 0.7541 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5903, allocations: 4 kB / 0.7541 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.5904, allocations: 4.875 kB / 0.7541 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.5909, allocations: 92.88 kB / 0.7542 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.5915, allocations: 151.7 kB / 0.7543 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.5935, allocations: 1.512 MB / 0.7558 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.5941, allocations: 98.23 kB / 0.7559 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.5942, allocations: 23.98 kB / 0.7559 GB, free: 15.82 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.0004399/0.5946, allocations: 254.2 kB / 0.7562 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5948, allocations: 83 kB / 0.7562 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.5969, allocations: 0.9973 MB / 0.7572 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.5969, allocations: 8 kB / 0.7572 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.5969, allocations: 0 / 0.7572 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5969, allocations: 4.047 kB / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.6, allocations: 1.938 MB / 0.7591 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6, allocations: 7.938 kB / 0.7591 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.6005, allocations: 143.8 kB / 0.7593 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.601, allocations: 88.77 kB / 0.7594 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.6011, allocations: 23.98 kB / 0.7594 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.6028, allocations: 1.532 MB / 0.7609 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6028, allocations: 4.062 kB / 0.7609 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.6046, allocations: 0.9257 MB / 0.7618 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.605, allocations: 267.7 kB / 0.762 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.6051, allocations: 16.14 kB / 0.7621 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.6057, allocations: 75.88 kB / 0.7621 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6058, allocations: 60.89 kB / 0.7622 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.6058, allocations: 31.98 kB / 0.7622 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005341/0.6064, allocations: 439 kB / 0.7626 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6064, allocations: 0 / 0.7626 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008695/0.6073, allocations: 295.2 kB / 0.7629 GB, free: 8.391 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.00325/0.6105, allocations: 1.959 MB / 0.7648 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.612, allocations: 0.7473 MB / 0.7656 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.612, allocations: 4 kB / 0.7656 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.6129, allocations: 0.4884 MB / 0.766 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6143, allocations: 273.6 kB / 0.7663 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.6261, allocations: 6.617 MB / 0.7728 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.6268, allocations: 1.013 MB / 0.7737 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008647/0.6277, allocations: 254.3 kB / 0.774 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.6282, allocations: 359.3 kB / 0.7743 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/0.6283, allocations: 4 kB / 0.7743 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2258/0.8541, allocations: 19.24 MB / 0.7931 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/0.8544, allocations: 286 kB / 0.7934 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/3.665, allocations: 0 / 0.7934 GB, free: 9.43 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)