Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.719/2.719, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 169 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001016, allocations: 88.03 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.048e-05, allocations: 0 / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.8457, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.179/7.025, allocations: 2.071 GB / 3.034 GB, free: 47.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/7.026, allocations: 87.64 kB / 3.034 GB, free: 47.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9732/7.999, allocations: 56.13 MB / 3.089 GB, free: 320 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/7.999, allocations: 0 / 3.089 GB, free: 320 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001979/7.999, allocations: 27.44 kB / 3.089 GB, free: 320 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005015/8.004, allocations: 1.059 MB / 3.09 GB, free: 319.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.745e-05/8.004, allocations: 9.5 kB / 3.09 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/8.007, allocations: 239.8 kB / 3.09 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/8.01, allocations: 0.6226 MB / 3.091 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/8.01, allocations: 26.59 kB / 3.091 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/8.011, allocations: 45.03 kB / 3.091 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004056/8.015, allocations: 0.9963 MB / 3.092 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/8.018, allocations: 0.7491 MB / 3.093 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/8.018, allocations: 0 / 3.093 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/8.019, allocations: 3.125 kB / 3.093 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/8.019, allocations: 20.19 kB / 3.093 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009461/8.028, allocations: 2.518 MB / 3.095 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/8.031, allocations: 0.7564 MB / 3.096 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008911/8.032, allocations: 251.7 kB / 3.096 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/8.032, allocations: 34.02 kB / 3.096 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/8.034, allocations: 383.1 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 6.953e-06/8.034, allocations: 2.344 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.003753/8.037, allocations: 0.6557 MB / 3.097 GB, free: 317.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/8.038, allocations: 245.3 kB / 3.097 GB, free: 317.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/8.039, allocations: 0.489 MB / 3.098 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/8.039, allocations: 26.45 kB / 3.098 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/8.04, allocations: 388.5 kB / 3.098 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/8.041, allocations: 239.7 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/8.041, allocations: 3.75 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002206/8.041, allocations: 374.6 kB / 3.099 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/8.042, allocations: 185 kB / 3.099 GB, free: 316.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009419/8.043, allocations: 319.2 kB / 3.099 GB, free: 316.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/8.044, allocations: 241.1 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/8.044, allocations: 0.9375 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003833/8.048, allocations: 0.6574 MB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/8.048, allocations: 9.016 kB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/8.048, allocations: 1.875 kB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/8.049, allocations: 85.5 kB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/8.051, allocations: 144.4 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/8.055, allocations: 1.453 MB / 3.102 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/8.056, allocations: 67.33 kB / 3.102 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/8.057, allocations: 31.06 kB / 3.102 GB, free: 315.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003712/8.057, allocations: 126.2 kB / 3.102 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00379/8.061, allocations: 0.6525 MB / 3.103 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/8.061, allocations: 70.69 kB / 3.103 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/8.067, allocations: 0.8967 MB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/8.067, allocations: 8.375 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/8.067, allocations: 4.469 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.335e-05/8.067, allocations: 5.953 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/8.075, allocations: 1.758 MB / 3.105 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/8.075, allocations: 0 / 3.105 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/8.077, allocations: 149.7 kB / 3.106 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/8.078, allocations: 80.27 kB / 3.106 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/8.078, allocations: 19.22 kB / 3.106 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003374/8.082, allocations: 1.476 MB / 3.107 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/8.082, allocations: 0.6562 kB / 3.107 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/8.086, allocations: 0.8237 MB / 3.108 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/8.087, allocations: 275.4 kB / 3.108 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/8.087, allocations: 0.6562 kB / 3.108 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/8.089, allocations: 58.44 kB / 3.108 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/8.09, allocations: 59.22 kB / 3.108 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/8.09, allocations: 29.73 kB / 3.108 GB, free: 312.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001305/8.091, allocations: 403.9 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.142e-06/8.091, allocations: 0.75 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002693/8.094, allocations: 312.2 kB / 3.109 GB, free: 312.7 MB / 0.948 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007914/8.102, allocations: 2.307 MB / 3.111 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003024/8.105, allocations: 0.6539 MB / 3.112 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/8.105, allocations: 1.219 kB / 3.112 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/8.107, allocations: 447.2 kB / 3.112 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/8.11, allocations: 233.8 kB / 3.113 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009671/8.12, allocations: 1.46 MB / 3.114 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/8.121, allocations: 1.015 MB / 3.115 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002447/8.123, allocations: 259.1 kB / 3.115 GB, free: 310.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/8.125, allocations: 350 kB / 3.116 GB, free: 310.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.505e-06/8.125, allocations: 0 / 3.116 GB, free: 310.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/8.234, allocations: 23.18 MB / 3.138 GB, free: 308.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/8.234, allocations: 191.2 kB / 3.138 GB, free: 308.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/12.34, allocations: 0 / 3.138 GB, free: 308.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)