Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_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.001224/0.001224, 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.001126/0.001126, allocations: 198.5 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.262/2.262, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 64.08 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5541, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005866/0.56, allocations: 4.946 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.6945, allocations: 150.6 MB / 1.169 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.6952, allocations: 19.88 kB / 1.169 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.6959, allocations: 190.2 kB / 1.17 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.6976, allocations: 0.5565 MB / 1.17 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.6993, allocations: 0.8563 MB / 1.171 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.7007, allocations: 1.412 MB / 1.172 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007811/0.7015, allocations: 0.5872 MB / 1.173 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.7021, allocations: 0.5021 MB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006094/0.7027, allocations: 0.5151 MB / 1.174 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.7029, allocations: 116 kB / 1.174 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.7036, allocations: 463.6 kB / 1.174 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.7038, allocations: 299.1 kB / 1.175 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.7042, allocations: 0.5752 MB / 1.175 GB, free: 288 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.7056, allocations: 1.616 MB / 1.177 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.7056, allocations: 8 kB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7056, allocations: 0 / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7056, allocations: 0 / 1.177 GB, free: 14.64 MB / 0.9356 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.002092/0.7077, allocations: 1.46 MB / 1.178 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.7077, allocations: 12.03 kB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.7079, allocations: 135.7 kB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.709, allocations: 235.2 kB / 1.179 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.7099, allocations: 0.7537 MB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.71, allocations: 73.98 kB / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.7101, allocations: 84 kB / 1.18 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.7115, allocations: 0.9872 MB / 1.18 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7115, allocations: 0 / 1.18 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.7116, allocations: 36 kB / 1.181 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.7116, allocations: 23.98 kB / 1.181 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.7134, allocations: 1.163 MB / 1.182 GB, free: 9.539 MB / 0.9356 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.003561/0.717, allocations: 3.033 MB / 1.185 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.7186, allocations: 0.9532 MB / 1.186 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.7191, allocations: 310.7 kB / 1.186 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.7192, allocations: 32.61 kB / 1.186 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007883/0.72, allocations: 0.5002 MB / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 1.804e-06/0.72, allocations: 0 / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.002905/0.7229, allocations: 1.235 MB / 1.188 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.723, allocations: 188.9 kB / 1.188 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.7236, allocations: 0.6371 MB / 1.188 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.7237, allocations: 41.7 kB / 1.188 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.724, allocations: 412.2 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.7241, allocations: 264.2 kB / 1.189 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.7243, allocations: 154.5 kB / 1.189 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7245, allocations: 390.8 kB / 1.19 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.725, allocations: 253.9 kB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.7255, allocations: 385.1 kB / 1.19 GB, free: 488 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.7265, allocations: 0.6228 MB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7265, allocations: 0 / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001718/0.7283, allocations: 0.8331 MB / 1.192 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7283, allocations: 11.94 kB / 1.192 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7283, allocations: 0 / 1.192 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.7289, allocations: 84.95 kB / 1.192 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.7295, allocations: 163.8 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.7315, allocations: 1.646 MB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.7321, allocations: 95.27 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.7322, allocations: 31.98 kB / 1.194 GB, free: 12.81 MB / 0.9512 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.0003092/0.7325, allocations: 261.9 kB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.7327, allocations: 86.95 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.7348, allocations: 1.089 MB / 1.195 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.7349, allocations: 19.94 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.7349, allocations: 0 / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.7349, allocations: 3.984 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.7379, allocations: 2.102 MB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7379, allocations: 0 / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.7385, allocations: 147.8 kB / 1.197 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.7389, allocations: 72.78 kB / 1.197 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.739, allocations: 27.98 kB / 1.197 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.7406, allocations: 1.67 MB / 1.199 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7406, allocations: 7.969 kB / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.7424, allocations: 1.004 MB / 1.2 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.7427, allocations: 275.7 kB / 1.2 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7428, allocations: 19.94 kB / 1.2 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.7434, allocations: 69.34 kB / 1.2 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.7436, allocations: 76.83 kB / 1.2 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.7437, allocations: 39.97 kB / 1.2 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004617/0.7441, allocations: 455 kB / 1.201 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7441, allocations: 4 kB / 1.201 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006906/0.7448, allocations: 323.3 kB / 1.201 GB, free: 4.812 MB / 0.9512 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.003073/0.7479, allocations: 2.065 MB / 1.203 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.75, allocations: 1.035 MB / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.75, allocations: 0 / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.7508, allocations: 0.5314 MB / 1.205 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.752, allocations: 318.7 kB / 1.205 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.7606, allocations: 6.57 MB / 1.211 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.7611, allocations: 1.027 MB / 1.212 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007319/0.7618, allocations: 270.9 kB / 1.213 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/0.7623, allocations: 395.3 kB / 1.213 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.7623, allocations: 0 / 1.213 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.636/2.398, allocations: 22.08 MB / 1.235 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/16.31, allocations: 6.406 kB / 1.235 GB, free: 2.828 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)