Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_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.001199/0.001199, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001197/0.001197, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 0.8688 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5008, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00571/0.5065, allocations: 4.953 MB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1318/0.6383, allocations: 148.4 MB / 1.167 GB, free: 8.785 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.6391, allocations: 15.88 kB / 1.167 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.6398, allocations: 154.8 kB / 1.167 GB, free: 8.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.6414, allocations: 0.4933 MB / 1.167 GB, free: 8.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.6432, allocations: 0.7581 MB / 1.168 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.6447, allocations: 1.416 MB / 1.169 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000849/0.6455, allocations: 0.6066 MB / 1.17 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.6462, allocations: 0.4982 MB / 1.171 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.6468, allocations: 0.5134 MB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.6469, allocations: 116 kB / 1.171 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.6476, allocations: 463.6 kB / 1.172 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.6478, allocations: 303.1 kB / 1.172 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.6482, allocations: 0.5713 MB / 1.172 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.6496, allocations: 1.624 MB / 1.174 GB, free: 1.246 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6496, allocations: 0 / 1.174 GB, free: 1.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6496, allocations: 3.938 kB / 1.174 GB, free: 1.242 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.6496, allocations: 0 / 1.174 GB, free: 1.242 MB / 0.92 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.00218/0.6518, allocations: 1.458 MB / 1.175 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6519, allocations: 12.03 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.652, allocations: 139.7 kB / 1.176 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.6531, allocations: 235.2 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.654, allocations: 0.7536 MB / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.6541, allocations: 66 kB / 1.177 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/0.6542, allocations: 80 kB / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6556, allocations: 0.9833 MB / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.6557, allocations: 0 / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/0.6557, allocations: 40 kB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.6558, allocations: 24 kB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.6574, allocations: 1.163 MB / 1.179 GB, free: 12.15 MB / 0.9356 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.003566/0.661, allocations: 3.037 MB / 1.182 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.6626, allocations: 0.9577 MB / 1.183 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.6631, allocations: 310.7 kB / 1.183 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.6632, allocations: 28.61 kB / 1.183 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008116/0.664, allocations: 0.5003 MB / 1.184 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.094e-06/0.664, allocations: 4 kB / 1.184 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.002881/0.6669, allocations: 1.235 MB / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/0.667, allocations: 192.9 kB / 1.185 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.6677, allocations: 0.6371 MB / 1.186 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.6677, allocations: 41.7 kB / 1.186 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.668, allocations: 412.2 kB / 1.186 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6682, allocations: 264.2 kB / 1.186 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.6684, allocations: 154.5 kB / 1.186 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6686, allocations: 390.7 kB / 1.187 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.669, allocations: 245.9 kB / 1.187 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.6696, allocations: 389.1 kB / 1.187 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009722/0.6706, allocations: 0.6267 MB / 1.188 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6706, allocations: 0 / 1.188 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001706/0.6723, allocations: 0.833 MB / 1.189 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6723, allocations: 8 kB / 1.189 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6723, allocations: 0 / 1.189 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.6729, allocations: 88.95 kB / 1.189 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.6735, allocations: 159.7 kB / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.6755, allocations: 1.648 MB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.6761, allocations: 95.23 kB / 1.191 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.6761, allocations: 35.97 kB / 1.191 GB, free: 15.41 MB / 0.9512 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.0003229/0.6765, allocations: 262 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6766, allocations: 86.91 kB / 1.191 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.6788, allocations: 1.089 MB / 1.192 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6788, allocations: 12 kB / 1.192 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6788, allocations: 4 kB / 1.192 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6788, allocations: 3.984 kB / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.6819, allocations: 2.098 MB / 1.194 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6819, allocations: 0 / 1.194 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.6825, allocations: 151.8 kB / 1.194 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003987/0.6829, allocations: 76.72 kB / 1.194 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.6829, allocations: 27.97 kB / 1.194 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.6846, allocations: 1.654 MB / 1.196 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6846, allocations: 0 / 1.196 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.6864, allocations: 1.019 MB / 1.197 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.6867, allocations: 271.7 kB / 1.197 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6868, allocations: 23.92 kB / 1.197 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.6875, allocations: 67.84 kB / 1.197 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.6876, allocations: 80.83 kB / 1.198 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.6877, allocations: 35.98 kB / 1.198 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004739/0.6882, allocations: 459 kB / 1.198 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6882, allocations: 0 / 1.198 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007319/0.6889, allocations: 323.2 kB / 1.198 GB, free: 7.422 MB / 0.9512 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.003107/0.692, allocations: 2.074 MB / 1.2 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.6941, allocations: 1.034 MB / 1.201 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6941, allocations: 4.375 kB / 1.201 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.695, allocations: 0.5198 MB / 1.202 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6961, allocations: 325.9 kB / 1.202 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7061, allocations: 6.971 MB / 1.209 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.7067, allocations: 1.02 MB / 1.21 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007604/0.7075, allocations: 274.8 kB / 1.21 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.7079, allocations: 395.3 kB / 1.211 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.708, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.745, allocations: 21.88 MB / 1.232 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/0.7453, allocations: 299.9 kB / 1.232 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.846, allocations: 0 / 1.232 GB, free: 4.871 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)