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.00547/0.00547, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001651/0.001651, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.245/2.245, allocations: 437.1 MB / 0.7105 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 64.11 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5891, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005871/0.595, allocations: 4.951 MB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.7441, allocations: 150.6 MB / 1.318 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.7448, allocations: 19.88 kB / 1.318 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.7453, allocations: 190.2 kB / 1.318 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.7467, allocations: 0.5515 MB / 1.319 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.7483, allocations: 0.8531 MB / 1.32 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.7496, allocations: 1.42 MB / 1.321 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.7503, allocations: 0.6132 MB / 1.322 GB, free: 3.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.7509, allocations: 0.4944 MB / 1.322 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.7514, allocations: 0.5134 MB / 1.323 GB, free: 2.848 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.7516, allocations: 120 kB / 1.323 GB, free: 2.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.7522, allocations: 487.6 kB / 1.323 GB, free: 2.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.7525, allocations: 303 kB / 1.323 GB, free: 1.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004732/0.753, allocations: 0.5674 MB / 1.324 GB, free: 1.387 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.7546, allocations: 1.67 MB / 1.326 GB, free: 15.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7546, allocations: 3.984 kB / 1.326 GB, free: 15.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7546, allocations: 0 / 1.326 GB, free: 15.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.7546, allocations: 0 / 1.326 GB, free: 15.71 MB / 1.061 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.002204/0.7568, allocations: 1.503 MB / 1.327 GB, free: 14.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.7568, allocations: 8.922 kB / 1.327 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.757, allocations: 139.7 kB / 1.327 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.7581, allocations: 236 kB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.7591, allocations: 0.7816 MB / 1.328 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.7592, allocations: 66 kB / 1.328 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.7593, allocations: 80 kB / 1.328 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.7609, allocations: 0.9911 MB / 1.329 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.7609, allocations: 0 / 1.329 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.761, allocations: 36 kB / 1.329 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.761, allocations: 24 kB / 1.329 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.7629, allocations: 1.167 MB / 1.331 GB, free: 10.53 MB / 1.061 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.003782/0.7667, allocations: 3.014 MB / 1.334 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.7684, allocations: 0.9496 MB / 1.334 GB, free: 6.414 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.7689, allocations: 311.4 kB / 1.335 GB, free: 6.109 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.769, allocations: 32.61 kB / 1.335 GB, free: 6.078 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008024/0.7698, allocations: 0.4967 MB / 1.335 GB, free: 5.566 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 1.933e-06/0.7698, allocations: 4 kB / 1.335 GB, free: 5.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=83): time 0.00292/0.7727, allocations: 1.228 MB / 1.336 GB, free: 4.309 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7729, allocations: 196.9 kB / 1.337 GB, free: 4.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.7736, allocations: 0.6371 MB / 1.337 GB, free: 3.426 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.7736, allocations: 41.7 kB / 1.337 GB, free: 3.379 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.7739, allocations: 417 kB / 1.338 GB, free: 2.965 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.7741, allocations: 277.6 kB / 1.338 GB, free: 2.691 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.7744, allocations: 150.6 kB / 1.338 GB, free: 2.539 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.7746, allocations: 390.7 kB / 1.338 GB, free: 2.148 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.775, allocations: 257.9 kB / 1.339 GB, free: 1.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.7756, allocations: 385 kB / 1.339 GB, free: 1.484 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7767, allocations: 0.6267 MB / 1.34 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7767, allocations: 0 / 1.34 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001766/0.7785, allocations: 0.8412 MB / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7785, allocations: 4 kB / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7785, allocations: 4 kB / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005289/0.7791, allocations: 84.95 kB / 1.341 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.7796, allocations: 159.8 kB / 1.341 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.7816, allocations: 1.65 MB / 1.342 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.7822, allocations: 95.47 kB / 1.342 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.7822, allocations: 27.98 kB / 1.343 GB, free: 13.82 MB / 1.076 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.0003322/0.7826, allocations: 269.7 kB / 1.343 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.7827, allocations: 87.44 kB / 1.343 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.7849, allocations: 1.089 MB / 1.344 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.7849, allocations: 12.03 kB / 1.344 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.785, allocations: 0 / 1.344 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.785, allocations: 3.984 kB / 1.344 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.7882, allocations: 2.107 MB / 1.346 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7882, allocations: 0 / 1.346 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.7887, allocations: 159.7 kB / 1.346 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004013/0.7891, allocations: 68.78 kB / 1.346 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.7892, allocations: 23.98 kB / 1.346 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.791, allocations: 1.659 MB / 1.348 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.791, allocations: 0 / 1.348 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.7929, allocations: 1.022 MB / 1.349 GB, free: 7.062 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.7932, allocations: 284.2 kB / 1.349 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7933, allocations: 20 kB / 1.349 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.7939, allocations: 66.17 kB / 1.349 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7941, allocations: 72.84 kB / 1.349 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.7941, allocations: 39.97 kB / 1.349 GB, free: 6.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005154/0.7947, allocations: 459 kB / 1.35 GB, free: 6.129 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7947, allocations: 4 kB / 1.35 GB, free: 6.125 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006847/0.7954, allocations: 331.1 kB / 1.35 GB, free: 5.801 MB / 1.076 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.003744/0.7991, allocations: 2.068 MB / 1.352 GB, free: 3.871 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.8006, allocations: 0.8272 MB / 1.353 GB, free: 3.035 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8006, allocations: 3.938 kB / 1.353 GB, free: 3.031 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.8015, allocations: 0.524 MB / 1.353 GB, free: 2.496 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.8027, allocations: 317.4 kB / 1.354 GB, free: 2.207 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.8118, allocations: 6.382 MB / 1.36 GB, free: 11.65 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.8124, allocations: 1.035 MB / 1.361 GB, free: 10.59 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006686/0.8131, allocations: 266.9 kB / 1.361 GB, free: 10.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.8136, allocations: 391.3 kB / 1.362 GB, free: 9.941 MB / 1.092 GB Notification: Performance of SimCode: time 2.51e-07/0.8136, allocations: 0 / 1.362 GB, free: 9.941 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.739/2.553, allocations: 22.31 MB / 1.383 GB, free: 3.84 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.91/34.46, allocations: 18.36 kB / 1.383 GB, free: 3.828 MB / 1.107 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)