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.001004/0.001004, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009436/0.0009436, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.059/2.059, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.84 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4729, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004445/0.4774, allocations: 4.434 MB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1323/0.6098, allocations: 148.3 MB / 1.098 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.6105, allocations: 27.81 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.6111, allocations: 134.9 kB / 1.098 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.6126, allocations: 450.6 kB / 1.099 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.6143, allocations: 0.7296 MB / 1.099 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.6155, allocations: 1.249 MB / 1.101 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.6163, allocations: 0.6138 MB / 1.101 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.6169, allocations: 426.2 kB / 1.102 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.6174, allocations: 485.7 kB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.6176, allocations: 63.94 kB / 1.102 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.6183, allocations: 395.6 kB / 1.103 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.6185, allocations: 239 kB / 1.103 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.6189, allocations: 0.4971 MB / 1.103 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.6203, allocations: 1.542 MB / 1.105 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6203, allocations: 0 / 1.105 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6203, allocations: 4 kB / 1.105 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.6203, allocations: 0 / 1.105 GB, free: 2.023 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.00239/0.6227, allocations: 1.452 MB / 1.106 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.6228, allocations: 11.97 kB / 1.106 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.6229, allocations: 139.7 kB / 1.106 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.624, allocations: 231.3 kB / 1.107 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.625, allocations: 0.7497 MB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.6251, allocations: 73.98 kB / 1.107 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6252, allocations: 80 kB / 1.107 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.6267, allocations: 0.9755 MB / 1.108 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.6267, allocations: 3.938 kB / 1.108 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.6268, allocations: 40 kB / 1.108 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.6268, allocations: 23.98 kB / 1.109 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.6286, allocations: 1.167 MB / 1.11 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.6323, allocations: 2.824 MB / 1.112 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.6339, allocations: 0.9408 MB / 1.113 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.6344, allocations: 306.7 kB / 1.114 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.346e-05/0.6345, allocations: 28.61 kB / 1.114 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/0.6353, allocations: 0.5041 MB / 1.114 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.034e-06/0.6353, allocations: 4 kB / 1.114 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.002938/0.6383, allocations: 1.22 MB / 1.115 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.6384, allocations: 192.9 kB / 1.116 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.639, allocations: 0.6332 MB / 1.116 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.6391, allocations: 41.7 kB / 1.116 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.6393, allocations: 412.3 kB / 1.117 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.6395, allocations: 272 kB / 1.117 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.6397, allocations: 154.5 kB / 1.117 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6399, allocations: 386.8 kB / 1.117 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.6404, allocations: 257.9 kB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.6409, allocations: 377.1 kB / 1.118 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.642, allocations: 0.6227 MB / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.642, allocations: 7.938 kB / 1.119 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001725/0.6437, allocations: 0.8253 MB / 1.119 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6437, allocations: 4 kB / 1.119 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6437, allocations: 4 kB / 1.119 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.6443, allocations: 88.89 kB / 1.119 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.6449, allocations: 155.8 kB / 1.12 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.6467, allocations: 1.522 MB / 1.121 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.6473, allocations: 91.31 kB / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.6474, allocations: 31.98 kB / 1.121 GB, free: 0.6367 MB / 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.0003264/0.6477, allocations: 277.5 kB / 1.121 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.6479, allocations: 86.97 kB / 1.122 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.6501, allocations: 1.093 MB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.6501, allocations: 12.09 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6501, allocations: 0 / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6501, allocations: 7.969 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.6532, allocations: 2.098 MB / 1.125 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6532, allocations: 0 / 1.125 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.6538, allocations: 147.8 kB / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.6543, allocations: 80.78 kB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.6543, allocations: 27.97 kB / 1.125 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.6559, allocations: 1.54 MB / 1.126 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6559, allocations: 3.938 kB / 1.126 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.6577, allocations: 1.008 MB / 1.127 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.658, allocations: 279.7 kB / 1.128 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6581, allocations: 20 kB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.6588, allocations: 67.92 kB / 1.128 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.6589, allocations: 76.83 kB / 1.128 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.659, allocations: 35.98 kB / 1.128 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004747/0.6595, allocations: 463 kB / 1.128 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6595, allocations: 0 / 1.128 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000707/0.6602, allocations: 319.1 kB / 1.129 GB, free: 8.758 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.003087/0.6633, allocations: 2.059 MB / 1.131 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.6647, allocations: 0.8159 MB / 1.131 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6647, allocations: 4 kB / 1.131 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.6655, allocations: 0.5197 MB / 1.132 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6666, allocations: 293.7 kB / 1.132 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.6774, allocations: 7.068 MB / 1.139 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.6779, allocations: 1.031 MB / 1.14 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007436/0.6787, allocations: 274.7 kB / 1.14 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.6792, allocations: 387.3 kB / 1.141 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.6792, allocations: 0 / 1.141 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.7141, allocations: 20.87 MB / 1.161 GB, free: 7.746 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.7143, allocations: 298.5 kB / 1.161 GB, free: 7.363 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.803, allocations: 0 / 1.161 GB, free: 7.363 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)