Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_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.001154/0.001154, 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.001122/0.001122, 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.168/1.168, 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 9.1.3-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.47, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004481/0.4745, allocations: 4.413 MB / 0.954 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1349/0.6094, allocations: 150.6 MB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.6101, allocations: 15.94 kB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.6106, allocations: 178.3 kB / 1.101 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.6119, allocations: 0.4993 MB / 1.102 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.6135, allocations: 0.8555 MB / 1.103 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.6144, allocations: 1.327 MB / 1.104 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007274/0.6152, allocations: 0.6453 MB / 1.105 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.6156, allocations: 486.3 kB / 1.105 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.6161, allocations: 0.5055 MB / 1.105 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.6162, allocations: 116 kB / 1.106 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.6169, allocations: 467.6 kB / 1.106 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.6171, allocations: 303 kB / 1.106 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.6175, allocations: 0.5518 MB / 1.107 GB, free: 308 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.6188, allocations: 1.593 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6188, allocations: 0 / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6188, allocations: 3.984 kB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.6188, allocations: 4 kB / 1.108 GB, free: 14.7 MB / 0.8731 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.002104/0.6209, allocations: 1.446 MB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.6209, allocations: 8.031 kB / 1.11 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.6211, allocations: 143.6 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.6222, allocations: 235.3 kB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.6231, allocations: 0.7536 MB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.6231, allocations: 66 kB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.6232, allocations: 88 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6246, allocations: 0.9794 MB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6247, allocations: 7.922 kB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.6248, allocations: 40 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.6248, allocations: 24 kB / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.6265, allocations: 1.155 MB / 1.113 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.63, allocations: 2.824 MB / 1.116 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.6316, allocations: 0.9386 MB / 1.117 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.6321, allocations: 306.7 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.6322, allocations: 36.59 kB / 1.117 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007704/0.6329, allocations: 0.5002 MB / 1.118 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 1.723e-06/0.633, allocations: 0 / 1.118 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.002854/0.6358, allocations: 1.22 MB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.6359, allocations: 196.8 kB / 1.119 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.6365, allocations: 0.6332 MB / 1.12 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.6366, allocations: 41.7 kB / 1.12 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.6369, allocations: 416.3 kB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.6371, allocations: 272 kB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.6373, allocations: 154.5 kB / 1.121 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6374, allocations: 386.8 kB / 1.121 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.6379, allocations: 249.9 kB / 1.121 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.6384, allocations: 389.1 kB / 1.122 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009888/0.6394, allocations: 0.615 MB / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6394, allocations: 0 / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001697/0.6411, allocations: 0.8293 MB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6412, allocations: 7.984 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6412, allocations: 4.188 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.6417, allocations: 84.72 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.6423, allocations: 163.8 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.6441, allocations: 1.63 MB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.6447, allocations: 87.33 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.6447, allocations: 35.97 kB / 1.125 GB, free: 13.18 MB / 0.8887 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.0003116/0.6451, allocations: 269.6 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.6452, allocations: 86.97 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.6474, allocations: 1.097 MB / 1.126 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6474, allocations: 8 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.6474, allocations: 0 / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6474, allocations: 3.984 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.6504, allocations: 2.094 MB / 1.128 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6504, allocations: 0 / 1.128 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.651, allocations: 151.8 kB / 1.129 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003921/0.6514, allocations: 76.72 kB / 1.129 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.6514, allocations: 27.98 kB / 1.129 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.6531, allocations: 1.654 MB / 1.13 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6531, allocations: 4.031 kB / 1.13 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.6549, allocations: 1.016 MB / 1.131 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.6552, allocations: 275.8 kB / 1.132 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.6553, allocations: 16 kB / 1.132 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.6559, allocations: 67.91 kB / 1.132 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.656, allocations: 84.77 kB / 1.132 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.6561, allocations: 31.98 kB / 1.132 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004675/0.6566, allocations: 463 kB / 1.132 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6566, allocations: 0 / 1.132 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006959/0.6573, allocations: 315.2 kB / 1.132 GB, free: 5.203 MB / 0.8887 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.003058/0.6603, allocations: 2.064 MB / 1.134 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.6624, allocations: 1.03 MB / 1.135 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6624, allocations: 0 / 1.135 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.6633, allocations: 0.524 MB / 1.136 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6644, allocations: 316 kB / 1.136 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009547/0.6739, allocations: 6.679 MB / 1.143 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.6744, allocations: 1.027 MB / 1.144 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007278/0.6752, allocations: 274.8 kB / 1.144 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.6757, allocations: 391.3 kB / 1.144 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6757, allocations: 0 / 1.144 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4776/1.153, allocations: 21.65 MB / 1.166 GB, free: 3.531 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.72, allocations: 9.656 kB / 1.166 GB, free: 3.523 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)