Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_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.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 65.17 kB / 0.9086 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2453, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006284/0.2516, allocations: 4.935 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1489/0.4005, allocations: 150.6 MB / 1.216 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.4011, allocations: 19.88 kB / 1.216 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.4017, allocations: 190.2 kB / 1.216 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.403, allocations: 0.5592 MB / 1.217 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4046, allocations: 0.8534 MB / 1.218 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.4058, allocations: 1.401 MB / 1.219 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.4066, allocations: 0.6066 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.4071, allocations: 0.4905 MB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.4076, allocations: 0.5134 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.4078, allocations: 120 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.4085, allocations: 463.6 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.4087, allocations: 299 kB / 1.221 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.4092, allocations: 0.5713 MB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4107, allocations: 1.616 MB / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4107, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4107, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.4107, allocations: 0 / 1.223 GB, free: 10.27 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.002249/0.4129, allocations: 1.466 MB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.413, allocations: 8.031 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.4131, allocations: 139.7 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4143, allocations: 239.2 kB / 1.225 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/0.4152, allocations: 0.7459 MB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.4153, allocations: 66 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4154, allocations: 84 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.4169, allocations: 0.9833 MB / 1.227 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.417, allocations: 3.938 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.4171, allocations: 44 kB / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.4171, allocations: 20 kB / 1.227 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.4189, allocations: 1.155 MB / 1.228 GB, free: 5.172 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.4228, allocations: 3.049 MB / 1.231 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.4246, allocations: 0.9499 MB / 1.232 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.4251, allocations: 310.7 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/0.4252, allocations: 28.62 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008267/0.426, allocations: 0.509 MB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/0.4261, allocations: 0 / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.002996/0.4291, allocations: 1.231 MB / 1.234 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4292, allocations: 196.9 kB / 1.234 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.4299, allocations: 0.6293 MB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.4299, allocations: 45.7 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.4302, allocations: 412.2 kB / 1.235 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4305, allocations: 272.2 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.4307, allocations: 150.5 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4309, allocations: 386.7 kB / 1.236 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.4313, allocations: 249.9 kB / 1.236 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.432, allocations: 385.1 kB / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.433, allocations: 0.6228 MB / 1.237 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4331, allocations: 4 kB / 1.237 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001774/0.4348, allocations: 0.8369 MB / 1.238 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4349, allocations: 9.75 kB / 1.238 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4349, allocations: 7.938 kB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.4354, allocations: 84.77 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.436, allocations: 155.8 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.438, allocations: 1.632 MB / 1.24 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.4386, allocations: 95.2 kB / 1.24 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.4387, allocations: 27.98 kB / 1.24 GB, free: 8.457 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.0003375/0.439, allocations: 278.1 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4392, allocations: 82.97 kB / 1.241 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.4414, allocations: 1.101 MB / 1.242 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.4415, allocations: 8 kB / 1.242 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4415, allocations: 4 kB / 1.242 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4415, allocations: 3.984 kB / 1.242 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.4447, allocations: 2.102 MB / 1.244 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4448, allocations: 0 / 1.244 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.4453, allocations: 147.8 kB / 1.244 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.4457, allocations: 72.78 kB / 1.244 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.4458, allocations: 27.92 kB / 1.244 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.4476, allocations: 1.666 MB / 1.246 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4476, allocations: 4.062 kB / 1.246 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4495, allocations: 1.016 MB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.4498, allocations: 275.7 kB / 1.247 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.4499, allocations: 20 kB / 1.247 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.4506, allocations: 63.98 kB / 1.247 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.4507, allocations: 72.84 kB / 1.247 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.4508, allocations: 43.97 kB / 1.247 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005097/0.4513, allocations: 459 kB / 1.247 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4513, allocations: 0 / 1.247 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007433/0.452, allocations: 331.1 kB / 1.248 GB, free: 452 kB / 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.3875/0.8395, allocations: 2.04 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.8417, allocations: 1.037 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8417, allocations: 1.344 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.8425, allocations: 0.5268 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.8437, allocations: 315.9 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.8514, allocations: 6.58 MB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.8518, allocations: 1.031 MB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000682/0.8524, allocations: 269.2 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.8529, allocations: 396.7 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.8529, allocations: 0 / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.268/3.12, allocations: 22.07 MB / 1.281 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/21.86, allocations: 7.781 kB / 1.281 GB, free: 176.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)