Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_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.0008876/0.0008876, allocations: 98.66 kB / 16.02 MB, free: 80 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.0007123/0.0007123, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.193/1.193, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6247/0.6247, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 8.906 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.12, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004779/0.1248, allocations: 4.497 MB / 0.5644 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3539/0.4787, allocations: 146.7 MB / 0.7077 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.4796, allocations: 19.88 kB / 0.7077 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.4802, allocations: 150.8 kB / 0.7079 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.4819, allocations: 473.1 kB / 0.7083 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.4837, allocations: 0.7406 MB / 0.7091 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.4852, allocations: 1.326 MB / 0.7103 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007669/0.4859, allocations: 0.5654 MB / 0.7109 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004917/0.4864, allocations: 370.2 kB / 0.7113 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.4869, allocations: 401.8 kB / 0.7116 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.487, allocations: 24 kB / 0.7117 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.4876, allocations: 371.6 kB / 0.712 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.4878, allocations: 195.1 kB / 0.7122 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.4882, allocations: 482.8 kB / 0.7127 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4894, allocations: 1.522 MB / 0.7141 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4894, allocations: 0 / 0.7141 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4894, allocations: 3.938 kB / 0.7142 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4894, allocations: 0 / 0.7142 GB, free: 8.75 MB / 0.5294 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.001963/0.4914, allocations: 1.241 MB / 0.7154 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4914, allocations: 8.031 kB / 0.7154 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.4916, allocations: 143.6 kB / 0.7155 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.4927, allocations: 253 kB / 0.7158 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.4936, allocations: 0.7538 MB / 0.7165 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.4936, allocations: 66 kB / 0.7165 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4938, allocations: 84 kB / 0.7166 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.4953, allocations: 0.9989 MB / 0.7176 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.4953, allocations: 3.938 kB / 0.7176 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.4954, allocations: 43.98 kB / 0.7177 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4954, allocations: 24 kB / 0.7177 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.4973, allocations: 1.178 MB / 0.7188 GB, free: 3.816 MB / 0.5294 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.003813/0.5011, allocations: 3.057 MB / 0.7218 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.5028, allocations: 0.9612 MB / 0.7227 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.5033, allocations: 318.7 kB / 0.7231 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.5034, allocations: 32.52 kB / 0.7231 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/0.5042, allocations: 0.508 MB / 0.7236 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=83): time 2.073e-06/0.5042, allocations: 0 / 0.7236 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.002922/0.5071, allocations: 1.247 MB / 0.7248 GB, free: 13.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.5072, allocations: 188.9 kB / 0.725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.5079, allocations: 0.6371 MB / 0.7256 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.508, allocations: 45.7 kB / 0.7256 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.5083, allocations: 404.3 kB / 0.726 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.5085, allocations: 272.1 kB / 0.7263 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.5086, allocations: 65.62 kB / 0.7264 GB, free: 11.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5087, allocations: 390.8 kB / 0.7267 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.5092, allocations: 265.8 kB / 0.727 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.5098, allocations: 385.1 kB / 0.7273 GB, free: 10.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5108, allocations: 0.6345 MB / 0.728 GB, free: 10.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5109, allocations: 0 / 0.728 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001731/0.5126, allocations: 0.8486 MB / 0.7288 GB, free: 9.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5126, allocations: 5.719 kB / 0.7288 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5126, allocations: 4 kB / 0.7288 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.5132, allocations: 84.95 kB / 0.7289 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.5138, allocations: 159.8 kB / 0.729 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.5156, allocations: 1.526 MB / 0.7305 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.5163, allocations: 111.3 kB / 0.7306 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.5163, allocations: 31.98 kB / 0.7307 GB, free: 7.195 MB / 0.545 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.0003412/0.5167, allocations: 273.6 kB / 0.7309 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5168, allocations: 79.06 kB / 0.731 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.5191, allocations: 1.102 MB / 0.7321 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5191, allocations: 15.94 kB / 0.7321 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5191, allocations: 0 / 0.7321 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5191, allocations: 3.984 kB / 0.7321 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.5223, allocations: 2.121 MB / 0.7342 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5223, allocations: 0 / 0.7342 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.5228, allocations: 151.8 kB / 0.7343 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.5233, allocations: 84.78 kB / 0.7344 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.5234, allocations: 27.97 kB / 0.7344 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.5251, allocations: 1.544 MB / 0.7359 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5251, allocations: 0 / 0.7359 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.5269, allocations: 1.023 MB / 0.7369 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.5272, allocations: 283.7 kB / 0.7372 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.5273, allocations: 24 kB / 0.7372 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.528, allocations: 95.7 kB / 0.7373 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.5282, allocations: 72.89 kB / 0.7374 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.5282, allocations: 35.98 kB / 0.7374 GB, free: 4 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005213/0.5288, allocations: 459.1 kB / 0.7378 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5288, allocations: 0 / 0.7378 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007663/0.5295, allocations: 327.2 kB / 0.7382 GB, free: 15.24 MB / 0.5606 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.003161/0.5327, allocations: 2.081 MB / 0.7402 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.5342, allocations: 0.8276 MB / 0.741 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5342, allocations: 4 kB / 0.741 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.535, allocations: 0.5275 MB / 0.7415 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5363, allocations: 289.1 kB / 0.7418 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5467, allocations: 7.012 MB / 0.7486 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.5473, allocations: 1.031 MB / 0.7497 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007923/0.5481, allocations: 278.8 kB / 0.7499 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.5486, allocations: 391.3 kB / 0.7503 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.5486, allocations: 0 / 0.7503 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2682/0.8168, allocations: 20.93 MB / 0.7707 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.817, allocations: 289.9 kB / 0.771 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.133, allocations: 3.938 kB / 0.771 GB, free: 13.85 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)