Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 178 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008835/0.0008834, allocations: 103.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 6.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2559, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004677/0.2606, allocations: 3.53 MB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.4186, allocations: 127.2 MB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.4193, allocations: 19.88 kB / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.4197, allocations: 67.36 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.421, allocations: 432.9 kB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4227, allocations: 0.5916 MB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4238, allocations: 0.763 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.4245, allocations: 483.1 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.425, allocations: 294.7 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.4254, allocations: 298.4 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.4254, allocations: 20 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.426, allocations: 255.6 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.4262, allocations: 155.3 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.4264, allocations: 185.1 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.4275, allocations: 1.025 MB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4275, allocations: 0 / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4275, allocations: 0 / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4275, allocations: 0 / 1.032 GB, free: 8.172 MB / 0.6823 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.002148/0.4297, allocations: 1.136 MB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4297, allocations: 11.97 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.4299, allocations: 135 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.4311, allocations: 238.5 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.4323, allocations: 0.6759 MB / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/0.4324, allocations: 65.98 kB / 1.034 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.4325, allocations: 79.94 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.4341, allocations: 0.9014 MB / 1.035 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4341, allocations: 3.938 kB / 1.035 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.4342, allocations: 36 kB / 1.035 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.4342, allocations: 23.95 kB / 1.035 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.4361, allocations: 1.112 MB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/0.4403, allocations: 2.686 MB / 1.039 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.4419, allocations: 0.8751 MB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/0.442, allocations: 32.61 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008034/0.4428, allocations: 431.3 kB / 1.04 GB, free: 15.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.535e-06/0.4428, allocations: 0 / 1.04 GB, free: 15.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.00298/0.4458, allocations: 1.097 MB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4459, allocations: 188.6 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.4467, allocations: 0.5705 MB / 1.042 GB, free: 13.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.4468, allocations: 41.64 kB / 1.042 GB, free: 13.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.4471, allocations: 388.1 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.4473, allocations: 240.5 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.4473, allocations: 16 kB / 1.043 GB, free: 12.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4475, allocations: 378.8 kB / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.448, allocations: 217.2 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.4485, allocations: 345.3 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.4491, allocations: 275.1 kB / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4491, allocations: 7.938 kB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001718/0.4508, allocations: 0.7509 MB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.4509, allocations: 4 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4509, allocations: 0 / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.4515, allocations: 88.84 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.4521, allocations: 143.8 kB / 1.045 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4543, allocations: 1.528 MB / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.455, allocations: 87.33 kB / 1.047 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.455, allocations: 27.98 kB / 1.047 GB, free: 8.844 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (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.0005024/0.4555, allocations: 261.7 kB / 1.047 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4557, allocations: 75.06 kB / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.4579, allocations: 0.9982 MB / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.4579, allocations: 11.95 kB / 1.048 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.4579, allocations: 0 / 1.048 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.458, allocations: 3.984 kB / 1.048 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.4613, allocations: 1.923 MB / 1.05 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4613, allocations: 0 / 1.05 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.4619, allocations: 143.8 kB / 1.05 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.4624, allocations: 92.98 kB / 1.05 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.4624, allocations: 23.92 kB / 1.05 GB, free: 5.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.4644, allocations: 1.552 MB / 1.052 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4644, allocations: 0 / 1.052 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4663, allocations: 0.9219 MB / 1.053 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.4669, allocations: 267.8 kB / 1.053 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.4671, allocations: 16 kB / 1.053 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.4677, allocations: 66.8 kB / 1.053 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.4679, allocations: 68.8 kB / 1.053 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.468, allocations: 35.98 kB / 1.053 GB, free: 2.125 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006331/0.4686, allocations: 415 kB / 1.053 GB, free: 1.727 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4686, allocations: 0 / 1.053 GB, free: 1.727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001001/0.4696, allocations: 275.2 kB / 1.054 GB, free: 1.457 MB / 0.698 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 (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.4737/0.9433, allocations: 1.911 MB / 1.055 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00228/0.9457, allocations: 0.7384 MB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.9457, allocations: 2.594 kB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.9467, allocations: 494.3 kB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.9483, allocations: 250.9 kB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009671/0.958, allocations: 5.522 MB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.9586, allocations: 1.025 MB / 1.063 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009647/0.9596, allocations: 257.6 kB / 1.064 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.9601, allocations: 358.3 kB / 1.064 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.304e-06/0.9601, allocations: 0 / 1.064 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/1.008, allocations: 19.86 MB / 1.083 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.009, allocations: 289.5 kB / 1.084 GB, free: 143.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.798, allocations: 4 kB / 1.084 GB, free: 143.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)