Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_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.000925/0.0009249, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005435/0.005435, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.396/2.396, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 12.78 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004485/0.2336, allocations: 4.518 MB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.3657, allocations: 146.7 MB / 1.206 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007253/0.3665, allocations: 15.94 kB / 1.206 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.367, allocations: 154.8 kB / 1.207 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.3685, allocations: 484 kB / 1.207 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.3701, allocations: 0.7396 MB / 1.208 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3714, allocations: 1.319 MB / 1.209 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.3722, allocations: 0.575 MB / 1.21 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.3728, allocations: 358.3 kB / 1.21 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005208/0.3733, allocations: 405.8 kB / 1.21 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3734, allocations: 24 kB / 1.21 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.3741, allocations: 371.6 kB / 1.211 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3743, allocations: 191.1 kB / 1.211 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.3747, allocations: 494.7 kB / 1.211 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3761, allocations: 1.51 MB / 1.213 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3761, allocations: 0 / 1.213 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3761, allocations: 0 / 1.213 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.3762, allocations: 0 / 1.213 GB, free: 6.426 MB / 0.9669 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.00218/0.3784, allocations: 1.252 MB / 1.214 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3784, allocations: 8.031 kB / 1.214 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.3786, allocations: 143.7 kB / 1.214 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.3798, allocations: 251.3 kB / 1.215 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.3807, allocations: 0.7497 MB / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.3808, allocations: 73.92 kB / 1.215 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3809, allocations: 84 kB / 1.215 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.3825, allocations: 0.999 MB / 1.216 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3825, allocations: 0 / 1.216 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.3826, allocations: 36 kB / 1.216 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.3826, allocations: 24 kB / 1.216 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.3845, allocations: 1.178 MB / 1.218 GB, free: 1.492 MB / 0.9669 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.003877/0.3884, allocations: 3.077 MB / 1.221 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.3901, allocations: 0.9616 MB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.3906, allocations: 318.7 kB / 1.222 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.735e-05/0.3907, allocations: 28.61 kB / 1.222 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008067/0.3915, allocations: 0.5042 MB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 1.874e-06/0.3916, allocations: 3.938 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.002945/0.3945, allocations: 1.247 MB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.3946, allocations: 192.9 kB / 1.224 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.3953, allocations: 0.6294 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.3954, allocations: 45.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3956, allocations: 416.2 kB / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.3958, allocations: 268.1 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.3959, allocations: 61.69 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3961, allocations: 386.8 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.3966, allocations: 257.9 kB / 1.226 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.3971, allocations: 393.1 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3982, allocations: 0.6306 MB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3982, allocations: 3.938 kB / 1.227 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001729/0.3999, allocations: 0.8447 MB / 1.228 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4, allocations: 7.984 kB / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4, allocations: 4 kB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.4005, allocations: 80.97 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.4011, allocations: 163.7 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.403, allocations: 1.526 MB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.4036, allocations: 99.45 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.4037, allocations: 39.97 kB / 1.229 GB, free: 4.863 MB / 0.9825 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.0003365/0.404, allocations: 278.8 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4041, allocations: 86.97 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.4064, allocations: 1.097 MB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.4064, allocations: 12 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4064, allocations: 0 / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4064, allocations: 7.922 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.4096, allocations: 2.118 MB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4096, allocations: 3.938 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.4102, allocations: 147.8 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.4107, allocations: 88.77 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.4107, allocations: 23.98 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.4124, allocations: 1.552 MB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4124, allocations: 4 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4142, allocations: 1.02 MB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.4146, allocations: 291.7 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4147, allocations: 20 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/0.4154, allocations: 93.66 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4155, allocations: 72.89 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.4156, allocations: 31.98 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005086/0.4161, allocations: 463 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4161, allocations: 0 / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008192/0.4169, allocations: 327.2 kB / 1.237 GB, free: 12.89 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.003231/0.4202, allocations: 2.071 MB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.4217, allocations: 0.8238 MB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4217, allocations: 0 / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.4226, allocations: 0.5314 MB / 1.24 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4239, allocations: 299.4 kB / 1.241 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4346, allocations: 7.01 MB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.4351, allocations: 1.032 MB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007964/0.4359, allocations: 270.9 kB / 1.249 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.4364, allocations: 391.2 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/0.4365, allocations: 0 / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4652/0.9016, allocations: 20.96 MB / 1.27 GB, free: 42 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.9018, allocations: 304 kB / 1.27 GB, free: 41.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.156, allocations: 0 / 1.27 GB, free: 41.62 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)