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.007244/0.007244, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001734/0.001734, allocations: 196 kB / 16.68 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.9503 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6906, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005294/0.696, allocations: 4.422 MB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.8593, allocations: 150.6 MB / 1.239 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009386/0.8603, allocations: 16.28 kB / 1.239 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.861, allocations: 183.6 kB / 1.239 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.863, allocations: 0.5142 MB / 1.239 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.8653, allocations: 0.8429 MB / 1.24 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.8669, allocations: 1.344 MB / 1.242 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009518/0.8679, allocations: 0.6447 MB / 1.242 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.8687, allocations: 498.5 kB / 1.243 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.8694, allocations: 0.4992 MB / 1.243 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.8696, allocations: 117.1 kB / 1.243 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.8707, allocations: 488.3 kB / 1.244 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.871, allocations: 302.8 kB / 1.244 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.8715, allocations: 0.5542 MB / 1.245 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.8734, allocations: 1.635 MB / 1.246 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8734, allocations: 4 kB / 1.246 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8734, allocations: 0 / 1.246 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.8735, allocations: 4 kB / 1.246 GB, free: 11.12 MB / 0.9825 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.002495/0.876, allocations: 1.446 MB / 1.248 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.876, allocations: 8.031 kB / 1.248 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.8762, allocations: 139.7 kB / 1.248 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.8774, allocations: 231.2 kB / 1.248 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.8785, allocations: 0.7732 MB / 1.249 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.8786, allocations: 70 kB / 1.249 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.8787, allocations: 84 kB / 1.249 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.8804, allocations: 0.9833 MB / 1.25 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.8804, allocations: 3.938 kB / 1.25 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.8805, allocations: 39.98 kB / 1.25 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.8805, allocations: 24 kB / 1.25 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.8825, allocations: 1.171 MB / 1.251 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.8866, allocations: 2.785 MB / 1.254 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.8885, allocations: 0.9483 MB / 1.255 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/0.889, allocations: 310.7 kB / 1.255 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.8891, allocations: 36.59 kB / 1.255 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008347/0.89, allocations: 0.4925 MB / 1.256 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.505e-06/0.89, allocations: 0 / 1.256 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.00328/0.8933, allocations: 1.227 MB / 1.257 GB, free: 64 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8934, allocations: 189 kB / 1.257 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.8942, allocations: 0.6293 MB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.8943, allocations: 41.7 kB / 1.258 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.8946, allocations: 416.2 kB / 1.258 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.8948, allocations: 268.1 kB / 1.258 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.8951, allocations: 158.5 kB / 1.258 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8952, allocations: 390.8 kB / 1.259 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.8957, allocations: 249.9 kB / 1.259 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.8964, allocations: 393 kB / 1.259 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.8975, allocations: 0.6111 MB / 1.26 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8975, allocations: 0 / 1.26 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001952/0.8995, allocations: 0.833 MB / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8995, allocations: 4 kB / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8995, allocations: 4 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.9001, allocations: 84.95 kB / 1.261 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.9008, allocations: 159.8 kB / 1.261 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.9029, allocations: 1.63 MB / 1.263 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.9037, allocations: 91.23 kB / 1.263 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/0.9038, allocations: 36.22 kB / 1.263 GB, free: 9.625 MB / 0.9981 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.000451/0.9043, allocations: 274.1 kB / 1.263 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.9045, allocations: 82.97 kB / 1.263 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.9069, allocations: 1.085 MB / 1.264 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.9069, allocations: 8 kB / 1.264 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.9069, allocations: 0 / 1.264 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.9069, allocations: 3.984 kB / 1.264 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.9106, allocations: 2.092 MB / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.9106, allocations: 4 kB / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.9112, allocations: 155.7 kB / 1.266 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.9117, allocations: 72.78 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.9118, allocations: 27.98 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.9137, allocations: 1.658 MB / 1.268 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9137, allocations: 4 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.9158, allocations: 1.017 MB / 1.269 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.9163, allocations: 271.7 kB / 1.269 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.9164, allocations: 20 kB / 1.269 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.9171, allocations: 63.92 kB / 1.269 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.9173, allocations: 80.83 kB / 1.269 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.9174, allocations: 35.92 kB / 1.269 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006056/0.918, allocations: 463 kB / 1.27 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.918, allocations: 4 kB / 1.27 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009017/0.9189, allocations: 311.2 kB / 1.27 GB, free: 1.652 MB / 0.9981 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.003586/0.9225, allocations: 2.065 MB / 1.272 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.9243, allocations: 0.8156 MB / 1.273 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9243, allocations: 0 / 1.273 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/0.9253, allocations: 0.5318 MB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.9266, allocations: 324.9 kB / 1.274 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.938, allocations: 6.436 MB / 1.28 GB, free: 7.469 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.9386, allocations: 1.036 MB / 1.281 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008729/0.9395, allocations: 270.7 kB / 1.281 GB, free: 6.137 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/0.9401, allocations: 395.3 kB / 1.282 GB, free: 5.75 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/0.9401, allocations: 0 / 1.282 GB, free: 5.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/0.9885, allocations: 21.89 MB / 1.303 GB, free: 160 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.92, allocations: 7.531 kB / 1.303 GB, free: 152 kB / 1.029 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)