Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_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.001608/0.001608, 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.002116/0.002116, allocations: 199.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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 291 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9189/0.9189, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001758, allocations: 92.86 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.131, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005426/0.1365, allocations: 4.412 MB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.39/0.5265, allocations: 150.6 MB / 0.8316 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008865/0.5274, allocations: 23.34 kB / 0.8317 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.5282, allocations: 180.1 kB / 0.8318 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.5304, allocations: 0.5145 MB / 0.8323 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.533, allocations: 0.835 MB / 0.8332 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.5348, allocations: 1.336 MB / 0.8345 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.536, allocations: 0.6367 MB / 0.8351 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.5369, allocations: 497.6 kB / 0.8356 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.5378, allocations: 0.5097 MB / 0.8361 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.5382, allocations: 117.3 kB / 0.8362 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.5394, allocations: 458.5 kB / 0.8366 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.5397, allocations: 302.2 kB / 0.8369 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007358/0.5405, allocations: 0.5582 MB / 0.8374 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.5427, allocations: 1.592 MB / 0.839 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5428, allocations: 4 kB / 0.839 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5428, allocations: 0 / 0.839 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.856e-05/0.5428, allocations: 0 / 0.839 GB, free: 15.82 MB / 0.5762 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.004101/0.5469, allocations: 1.452 MB / 0.8404 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.547, allocations: 9 kB / 0.8404 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.5472, allocations: 140.8 kB / 0.8406 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.5493, allocations: 234.3 kB / 0.8408 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.5508, allocations: 0.7436 MB / 0.8415 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.5509, allocations: 69.25 kB / 0.8416 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5511, allocations: 83.81 kB / 0.8416 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.5537, allocations: 0.9846 MB / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.5537, allocations: 0 / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.5538, allocations: 40.72 kB / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.5539, allocations: 21.94 kB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.557, allocations: 1.166 MB / 0.8438 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.563, allocations: 2.83 MB / 0.8466 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.5658, allocations: 0.9476 MB / 0.8475 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008476/0.5667, allocations: 313.1 kB / 0.8478 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.5668, allocations: 31.19 kB / 0.8478 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.5681, allocations: 0.4969 MB / 0.8483 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 3.416e-06/0.5681, allocations: 0 / 0.8483 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.003441/0.5715, allocations: 1.229 MB / 0.8495 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.5716, allocations: 192.9 kB / 0.8497 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.5723, allocations: 0.6318 MB / 0.8503 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.5723, allocations: 43.08 kB / 0.8504 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.5726, allocations: 406 kB / 0.8507 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5728, allocations: 276.6 kB / 0.851 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.573, allocations: 150.3 kB / 0.8511 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5731, allocations: 395.4 kB / 0.8515 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.5735, allocations: 247.2 kB / 0.8518 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.5741, allocations: 387.9 kB / 0.8521 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/0.5751, allocations: 0.6194 MB / 0.8527 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5751, allocations: 0 / 0.8527 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001653/0.5767, allocations: 0.8301 MB / 0.8535 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5767, allocations: 5.281 kB / 0.8536 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5768, allocations: 2.438 kB / 0.8536 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.5773, allocations: 85.7 kB / 0.8536 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.5779, allocations: 160.5 kB / 0.8538 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.5796, allocations: 1.634 MB / 0.8554 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.5802, allocations: 100.8 kB / 0.8555 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.5803, allocations: 30.61 kB / 0.8555 GB, free: 5.148 MB / 0.5762 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.000309/0.5806, allocations: 268.6 kB / 0.8558 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5807, allocations: 85.78 kB / 0.8558 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.5829, allocations: 1.087 MB / 0.8569 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5829, allocations: 9.719 kB / 0.8569 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5829, allocations: 0 / 0.8569 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5829, allocations: 7.984 kB / 0.8569 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.5859, allocations: 2.098 MB / 0.859 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5859, allocations: 4.062 kB / 0.859 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.5864, allocations: 147.8 kB / 0.8591 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.5868, allocations: 75.88 kB / 0.8592 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.5869, allocations: 25.8 kB / 0.8592 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5887, allocations: 1.658 MB / 0.8608 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5887, allocations: 0 / 0.8608 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.5905, allocations: 1.012 MB / 0.8618 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.5908, allocations: 282.4 kB / 0.8621 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5909, allocations: 16.31 kB / 0.8621 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.5915, allocations: 67.61 kB / 0.8622 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5917, allocations: 72.09 kB / 0.8622 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.5917, allocations: 38.59 kB / 0.8623 GB, free: 276 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000454/0.5922, allocations: 463.5 kB / 0.8627 GB, free: 4 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5922, allocations: 0 / 0.8627 GB, free: 4 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007496/0.593, allocations: 312.9 kB / 0.863 GB, free: 15.94 MB / 0.5919 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.003056/0.596, allocations: 2.07 MB / 0.865 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.598, allocations: 1.035 MB / 0.866 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.598, allocations: 0 / 0.866 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.5988, allocations: 0.5209 MB / 0.8666 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5999, allocations: 307.7 kB / 0.8669 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.6092, allocations: 6.68 MB / 0.8734 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.6097, allocations: 1.037 MB / 0.8744 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007703/0.6105, allocations: 267 kB / 0.8746 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.611, allocations: 394.5 kB / 0.875 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.611, allocations: 3.938 kB / 0.875 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9857/1.597, allocations: 21.68 MB / 0.8962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.59, allocations: 3.188 kB / 0.8962 GB, free: 3.23 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)