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.004886/0.004886, allocations: 100.4 kB / 15.73 MB, free: 6.469 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.001189/0.001189, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4921, allocations: 80.91 MB / 0.6641 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006427/0.4986, allocations: 4.19 MB / 0.6682 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1833/0.6819, allocations: 150.5 MB / 0.8152 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.6832, allocations: 15.94 kB / 0.8152 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.6842, allocations: 178.3 kB / 0.8154 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.6867, allocations: 479.7 kB / 0.8158 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.689, allocations: 0.812 MB / 0.8166 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.6908, allocations: 1.21 MB / 0.8178 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.6919, allocations: 0.6412 MB / 0.8184 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008576/0.6928, allocations: 442.4 kB / 0.8189 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.6934, allocations: 461.9 kB / 0.8193 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.6936, allocations: 108 kB / 0.8194 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009415/0.6945, allocations: 471.6 kB / 0.8198 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.6948, allocations: 279.1 kB / 0.8201 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.6952, allocations: 0.5051 MB / 0.8206 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.6968, allocations: 1.503 MB / 0.8221 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6968, allocations: 0 / 0.8221 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6968, allocations: 0 / 0.8221 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.6968, allocations: 3.938 kB / 0.8221 GB, free: 15.2 MB / 0.6544 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.002208/0.6991, allocations: 1.356 MB / 0.8234 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6991, allocations: 8.031 kB / 0.8234 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.6993, allocations: 135.3 kB / 0.8235 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.7005, allocations: 227.3 kB / 0.8238 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.7016, allocations: 0.7382 MB / 0.8245 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.7017, allocations: 62 kB / 0.8245 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.7018, allocations: 80 kB / 0.8246 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.7033, allocations: 0.9209 MB / 0.8255 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.7033, allocations: 7.938 kB / 0.8255 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.7034, allocations: 36 kB / 0.8256 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.7035, allocations: 24 kB / 0.8256 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.7052, allocations: 1.112 MB / 0.8267 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.709, allocations: 2.641 MB / 0.8292 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.7106, allocations: 0.8607 MB / 0.8301 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.7111, allocations: 278.7 kB / 0.8303 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-05/0.7112, allocations: 32.67 kB / 0.8304 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000753/0.7119, allocations: 435.2 kB / 0.8308 GB, free: 6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.505e-06/0.7119, allocations: 0 / 0.8308 GB, free: 6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.00292/0.7149, allocations: 1.088 MB / 0.8319 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.715, allocations: 192.6 kB / 0.832 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.7157, allocations: 0.59 MB / 0.8326 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.7158, allocations: 37.7 kB / 0.8327 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.716, allocations: 392.2 kB / 0.833 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7162, allocations: 244.4 kB / 0.8333 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.7164, allocations: 138.2 kB / 0.8334 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7166, allocations: 390.7 kB / 0.8338 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.7171, allocations: 217.2 kB / 0.834 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.7176, allocations: 345.4 kB / 0.8343 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.7187, allocations: 0.5497 MB / 0.8348 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7187, allocations: 0 / 0.8348 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001829/0.7205, allocations: 0.747 MB / 0.8356 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.7205, allocations: 4 kB / 0.8356 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7206, allocations: 4 kB / 0.8356 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.7212, allocations: 88.89 kB / 0.8357 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.7218, allocations: 143.8 kB / 0.8358 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.7239, allocations: 1.626 MB / 0.8374 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.7245, allocations: 79.33 kB / 0.8375 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.7246, allocations: 27.98 kB / 0.8375 GB, free: 14.82 MB / 0.67 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.0003607/0.725, allocations: 255.9 kB / 0.8377 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.7251, allocations: 82.98 kB / 0.8378 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.7273, allocations: 0.9947 MB / 0.8388 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.7274, allocations: 11.94 kB / 0.8388 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7274, allocations: 0 / 0.8388 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.7274, allocations: 3.984 kB / 0.8388 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.7308, allocations: 1.92 MB / 0.8407 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7309, allocations: 3.938 kB / 0.8407 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.7314, allocations: 147.8 kB / 0.8408 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/0.7319, allocations: 72.78 kB / 0.8409 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.732, allocations: 19.98 kB / 0.8409 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.7339, allocations: 1.658 MB / 0.8425 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7339, allocations: 0 / 0.8425 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.7359, allocations: 0.9199 MB / 0.8434 GB, free: 8.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.7363, allocations: 251.8 kB / 0.8437 GB, free: 8.215 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7364, allocations: 16 kB / 0.8437 GB, free: 8.199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.737, allocations: 62.67 kB / 0.8437 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.7371, allocations: 60.91 kB / 0.8438 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.7372, allocations: 31.98 kB / 0.8438 GB, free: 8.047 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006067/0.7378, allocations: 435 kB / 0.8442 GB, free: 7.629 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7378, allocations: 4 kB / 0.8442 GB, free: 7.625 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009237/0.7388, allocations: 283.3 kB / 0.8445 GB, free: 7.348 MB / 0.67 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.003409/0.7422, allocations: 1.956 MB / 0.8464 GB, free: 5.539 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.7439, allocations: 0.7359 MB / 0.8471 GB, free: 4.793 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.7439, allocations: 4 kB / 0.8471 GB, free: 4.789 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008961/0.7448, allocations: 0.4884 MB / 0.8476 GB, free: 4.289 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7462, allocations: 294.9 kB / 0.8479 GB, free: 4.023 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.7572, allocations: 5.955 MB / 0.8537 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.7579, allocations: 1.011 MB / 0.8547 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007738/0.7587, allocations: 262.2 kB / 0.855 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/0.7592, allocations: 355.3 kB / 0.8553 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.7593, allocations: 0 / 0.8553 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3694/1.129, allocations: 20.83 MB / 0.8756 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.47, allocations: 11.91 kB / 0.8757 GB, free: 190.3 MB / 0.6856 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)