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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008414/0.0008415, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004874/0.004874, allocations: 170 kB / 16.26 MB, free: 6.613 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5373, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.0038/0.5412, allocations: 4.024 MB / 0.9591 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.6754, allocations: 146.7 MB / 1.102 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.6761, allocations: 23.81 kB / 1.102 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.6765, allocations: 134.9 kB / 1.102 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.6779, allocations: 440.5 kB / 1.103 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.6794, allocations: 0.7345 MB / 1.104 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.6807, allocations: 1.249 MB / 1.105 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.6815, allocations: 0.606 MB / 1.105 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.682, allocations: 350.3 kB / 1.106 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.6824, allocations: 385.8 kB / 1.106 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.6825, allocations: 28 kB / 1.106 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.6831, allocations: 367.6 kB / 1.107 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.6833, allocations: 191.1 kB / 1.107 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.6837, allocations: 470.8 kB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.6848, allocations: 1.495 MB / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6849, allocations: 0 / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6849, allocations: 0 / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.6849, allocations: 4 kB / 1.109 GB, free: 1.613 MB / 0.8575 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.001924/0.6868, allocations: 1.221 MB / 1.11 GB, free: 352 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6869, allocations: 16.03 kB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.687, allocations: 139.7 kB / 1.11 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6881, allocations: 259.2 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.689, allocations: 0.7459 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.6891, allocations: 69.98 kB / 1.111 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6892, allocations: 88 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.6907, allocations: 0.9911 MB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6907, allocations: 0 / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.6908, allocations: 40 kB / 1.112 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.6908, allocations: 20 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.6926, allocations: 1.182 MB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.6962, allocations: 2.867 MB / 1.116 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.6979, allocations: 0.9603 MB / 1.117 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.6984, allocations: 310.7 kB / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.691e-05/0.6984, allocations: 28.61 kB / 1.117 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007968/0.6993, allocations: 0.508 MB / 1.118 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 1.693e-06/0.6993, allocations: 0 / 1.118 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.002873/0.7021, allocations: 1.247 MB / 1.119 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.7022, allocations: 188.9 kB / 1.119 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.7029, allocations: 0.6333 MB / 1.12 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.703, allocations: 41.7 kB / 1.12 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.7032, allocations: 412.2 kB / 1.12 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.7034, allocations: 268.1 kB / 1.121 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.7035, allocations: 61.69 kB / 1.121 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7036, allocations: 390.8 kB / 1.121 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.7041, allocations: 261.9 kB / 1.121 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.7047, allocations: 385.1 kB / 1.122 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.7057, allocations: 0.6228 MB / 1.122 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7057, allocations: 7.938 kB / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001673/0.7074, allocations: 0.8448 MB / 1.123 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7074, allocations: 4 kB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7074, allocations: 4 kB / 1.123 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.7079, allocations: 80.91 kB / 1.123 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.7086, allocations: 167.8 kB / 1.123 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.7103, allocations: 1.522 MB / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.7109, allocations: 108.6 kB / 1.125 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.711, allocations: 36.05 kB / 1.125 GB, free: 364 kB / 0.8731 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.0003141/0.7113, allocations: 277.6 kB / 1.125 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.7114, allocations: 79.8 kB / 1.125 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.7136, allocations: 1.101 MB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.7136, allocations: 8 kB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.7136, allocations: 0 / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.7137, allocations: 3.984 kB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.7167, allocations: 2.11 MB / 1.128 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7167, allocations: 0 / 1.128 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.7173, allocations: 155.8 kB / 1.129 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/0.7177, allocations: 84.77 kB / 1.129 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.7178, allocations: 23.98 kB / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.7194, allocations: 1.551 MB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7194, allocations: 4.062 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.7212, allocations: 1.031 MB / 1.131 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.7215, allocations: 287.6 kB / 1.131 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.7216, allocations: 20 kB / 1.131 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.7222, allocations: 84.78 kB / 1.132 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7224, allocations: 68.89 kB / 1.132 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.7224, allocations: 39.97 kB / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004659/0.7229, allocations: 459 kB / 1.132 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7229, allocations: 0 / 1.132 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006635/0.7236, allocations: 315.1 kB / 1.132 GB, free: 8.418 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.00307/0.7267, allocations: 2.073 MB / 1.134 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.7281, allocations: 0.8273 MB / 1.135 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7281, allocations: 0 / 1.135 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.7289, allocations: 0.5317 MB / 1.136 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7301, allocations: 281.2 kB / 1.136 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.741, allocations: 7.165 MB / 1.143 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.7416, allocations: 1.031 MB / 1.144 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007324/0.7423, allocations: 274.8 kB / 1.144 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.7428, allocations: 387.3 kB / 1.145 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.7428, allocations: 4 kB / 1.145 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.7767, allocations: 20.55 MB / 1.165 GB, free: 7.609 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.777, allocations: 301.3 kB / 1.165 GB, free: 7.227 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.884, allocations: 0 / 1.165 GB, free: 7.227 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)