Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_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.001896/0.001896, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002372/0.002372, allocations: 195.6 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.655/2.655, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.464/4.464, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002265, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237/1.239, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.008307/1.248, allocations: 4.427 MB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2832/1.531, allocations: 148.4 MB / 1.098 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/1.533, allocations: 19.81 kB / 1.098 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/1.535, allocations: 138.9 kB / 1.099 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003517/1.538, allocations: 463.5 kB / 1.099 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/1.543, allocations: 0.7509 MB / 1.1 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003391/1.546, allocations: 1.339 MB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/1.549, allocations: 0.6414 MB / 1.102 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/1.55, allocations: 490.3 kB / 1.102 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/1.552, allocations: 0.5094 MB / 1.103 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006427/1.552, allocations: 116 kB / 1.103 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/1.555, allocations: 463.6 kB / 1.103 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006376/1.555, allocations: 303 kB / 1.104 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.557, allocations: 0.5596 MB / 1.104 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004558/1.561, allocations: 1.593 MB / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/1.561, allocations: 0 / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.807e-06/1.561, allocations: 0 / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.084e-05/1.561, allocations: 0 / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006703/1.568, allocations: 1.447 MB / 1.107 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.249e-05/1.568, allocations: 12.03 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004778/1.569, allocations: 143.6 kB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/1.571, allocations: 227.4 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/1.573, allocations: 0.7574 MB / 1.108 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.573, allocations: 66 kB / 1.108 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/1.573, allocations: 84 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/1.576, allocations: 0.9794 MB / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/1.577, allocations: 0 / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/1.577, allocations: 43.98 kB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/1.577, allocations: 24 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/1.58, allocations: 1.163 MB / 1.11 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008205/1.589, allocations: 2.82 MB / 1.113 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.592, allocations: 0.933 MB / 1.114 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/1.593, allocations: 310.7 kB / 1.114 GB, free: 8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/1.593, allocations: 32.61 kB / 1.114 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/1.595, allocations: 0.5041 MB / 1.115 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 7.063e-06/1.595, allocations: 0 / 1.115 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.005813/1.601, allocations: 1.224 MB / 1.116 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/1.601, allocations: 192.9 kB / 1.116 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/1.603, allocations: 0.637 MB / 1.117 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/1.603, allocations: 45.69 kB / 1.117 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006416/1.603, allocations: 412.3 kB / 1.117 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000428/1.604, allocations: 272 kB / 1.118 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/1.604, allocations: 158.5 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002935/1.605, allocations: 386.8 kB / 1.118 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/1.606, allocations: 249.8 kB / 1.118 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.607, allocations: 385.1 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/1.609, allocations: 0.615 MB / 1.119 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.609, allocations: 0 / 1.119 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003503/1.613, allocations: 0.8408 MB / 1.12 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.613, allocations: 4 kB / 1.12 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.613, allocations: 4 kB / 1.12 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009631/1.614, allocations: 80.95 kB / 1.12 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.615, allocations: 163.7 kB / 1.12 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/1.619, allocations: 1.634 MB / 1.122 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.621, allocations: 93.14 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/1.621, allocations: 27.98 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.001452/1.622, allocations: 273.5 kB / 1.122 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007329/1.623, allocations: 86.97 kB / 1.122 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/1.629, allocations: 1.097 MB / 1.124 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/1.629, allocations: 11.94 kB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.629, allocations: 0 / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.629, allocations: 3.984 kB / 1.124 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008478/1.637, allocations: 2.098 MB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.637, allocations: 0 / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.639, allocations: 147.8 kB / 1.126 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008286/1.64, allocations: 76.78 kB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.64, allocations: 27.92 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/1.644, allocations: 1.658 MB / 1.127 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.644, allocations: 0 / 1.127 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/1.648, allocations: 1.012 MB / 1.128 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/1.649, allocations: 279.7 kB / 1.129 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/1.65, allocations: 24 kB / 1.129 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.651, allocations: 64.08 kB / 1.129 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/1.652, allocations: 76.81 kB / 1.129 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.652, allocations: 39.97 kB / 1.129 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001529/1.653, allocations: 459 kB / 1.129 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.105e-06/1.653, allocations: 4 kB / 1.129 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002129/1.656, allocations: 319.1 kB / 1.13 GB, free: 7.746 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.007879/1.663, allocations: 2.057 MB / 1.132 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005205/1.669, allocations: 1.026 MB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.669, allocations: 4 kB / 1.133 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.671, allocations: 0.5279 MB / 1.133 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.674, allocations: 311.8 kB / 1.133 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/1.703, allocations: 7.061 MB / 1.14 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.704, allocations: 1.043 MB / 1.141 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001629/1.706, allocations: 262.9 kB / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.707, allocations: 395.3 kB / 1.142 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of SimCode: time 1.272e-06/1.707, allocations: 0 / 1.142 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/1.783, allocations: 21.45 MB / 1.163 GB, free: 5.926 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004851/1.784, allocations: 294.9 kB / 1.163 GB, free: 5.543 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.637/6.421, allocations: 6.531 kB / 1.163 GB, free: 5.539 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)