Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.486/2.486, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001292/0.001292, allocations: 176.8 kB / 361.4 MB, free: 6.82 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.647/2.647, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.001609/0.001609, allocations: 96.88 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.891e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.172, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.165/8.337, allocations: 2.071 GB / 3.035 GB, free: 44.78 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004915/8.338, allocations: 86.64 kB / 3.035 GB, free: 44.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.066/9.404, allocations: 56.14 MB / 3.09 GB, free: 319.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/9.404, allocations: 0 / 3.09 GB, free: 319.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001064/9.404, allocations: 25.31 kB / 3.09 GB, free: 319.8 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.002704/9.407, allocations: 1.059 MB / 3.091 GB, free: 319.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/9.407, allocations: 8.594 kB / 3.091 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/9.409, allocations: 247.2 kB / 3.092 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/9.411, allocations: 0.6097 MB / 3.092 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/9.411, allocations: 32.39 kB / 3.092 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/9.411, allocations: 44.62 kB / 3.092 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003011/9.414, allocations: 0.9933 MB / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/9.417, allocations: 0.7488 MB / 3.094 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/9.417, allocations: 2.844 kB / 3.094 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/9.417, allocations: 3.609 kB / 3.094 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/9.417, allocations: 22.31 kB / 3.094 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006396/9.423, allocations: 2.517 MB / 3.096 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/9.425, allocations: 0.7618 MB / 3.097 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/9.426, allocations: 246.1 kB / 3.097 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/9.426, allocations: 26.31 kB / 3.097 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009892/9.427, allocations: 392.8 kB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 4.389e-06/9.427, allocations: 0 / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.002484/9.429, allocations: 0.6515 MB / 3.098 GB, free: 317.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/9.429, allocations: 250.7 kB / 3.099 GB, free: 317.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/9.431, allocations: 0.4896 MB / 3.099 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/9.431, allocations: 26.86 kB / 3.099 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/9.431, allocations: 390.3 kB / 3.1 GB, free: 317 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/9.431, allocations: 233.9 kB / 3.1 GB, free: 316.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/9.432, allocations: 0 / 3.1 GB, free: 316.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002169/9.432, allocations: 380.5 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/9.432, allocations: 182.8 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/9.433, allocations: 314.9 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/9.434, allocations: 238.1 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/9.434, allocations: 3.719 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002527/9.436, allocations: 0.656 MB / 3.101 GB, free: 316.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/9.436, allocations: 5.469 kB / 3.101 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/9.436, allocations: 1.188 kB / 3.101 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/9.437, allocations: 91.64 kB / 3.102 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/9.438, allocations: 145.7 kB / 3.102 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/9.441, allocations: 1.45 MB / 3.103 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/9.442, allocations: 72.7 kB / 3.103 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/9.442, allocations: 26.41 kB / 3.103 GB, free: 315 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.0002991/9.442, allocations: 122.4 kB / 3.103 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002415/9.445, allocations: 0.6528 MB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/9.445, allocations: 71.03 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/9.448, allocations: 0.8989 MB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/9.448, allocations: 10.34 kB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/9.448, allocations: 1.594 kB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/9.448, allocations: 9.75 kB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/9.452, allocations: 1.749 MB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/9.452, allocations: 3.953 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/9.453, allocations: 149.6 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006211/9.453, allocations: 81.62 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/9.453, allocations: 16.17 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/9.456, allocations: 1.479 MB / 3.108 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/9.456, allocations: 0 / 3.108 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/9.458, allocations: 0.8239 MB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/9.459, allocations: 275.2 kB / 3.109 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/9.459, allocations: 1.094 kB / 3.109 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/9.46, allocations: 54.8 kB / 3.109 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/9.46, allocations: 62.94 kB / 3.109 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/9.46, allocations: 32.72 kB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009886/9.461, allocations: 398.1 kB / 3.11 GB, free: 312.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/9.461, allocations: 0 / 3.11 GB, free: 312.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001921/9.463, allocations: 312.8 kB / 3.11 GB, free: 312.6 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.006137/9.469, allocations: 2.315 MB / 3.112 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002633/9.472, allocations: 0.6514 MB / 3.113 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/9.472, allocations: 1.344 kB / 3.113 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/9.474, allocations: 452.7 kB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/9.476, allocations: 233.7 kB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/9.483, allocations: 1.462 MB / 3.115 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/9.484, allocations: 1.022 MB / 3.116 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001827/9.486, allocations: 261.5 kB / 3.116 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/9.487, allocations: 349.7 kB / 3.117 GB, free: 310.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.064e-06/9.487, allocations: 0 / 3.117 GB, free: 310.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/9.6, allocations: 23.18 MB / 3.139 GB, free: 308.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/9.6, allocations: 199.4 kB / 3.14 GB, free: 308.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.064/13.66, allocations: 3.734 kB / 3.14 GB, free: 308.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)